Hi Mari, you have to update your installation because fontawesome 5 uses a new machanism to load the symbols from the font files. The first version of the mechanism from August did only work when you enabled the symbol set for the whole document and extended support was added in September. Wolfgang Mari Voipio schrieb am 01.11.18 um 13:51:
Hi Wolfgang et al,
I did some more research into this.
If I put \symbol after \showsymbolset, the font gets loaded and the symbols show up as expected. If I put \symbol before \showsymbolset, the font seems to get loaded, but instead of the symbol I get its name printed. If I remove the \showsymbolset commands altogether, the correct font doesn't get loaded at all (as far as I understand from the log) and understandably I get no symbols then. I didn't touch the stuff above \starttext, just moved the \symbol commands around. As far as I can tell, the font is properly installed and ConTeXt finds it (otherwise \showsymbolset wouldn't work, I think). But I've got a nagging feeling I'm missing something somewhere else. Unfortunately I'm on thin ice here, fonts really aren't my forte.
Mari On Thu, Nov 1, 2018 at 1:45 PM Wolfgang Schuster
wrote: Mari Voipio schrieb am 01.11.18 um 12:04:
Hi,
I'm trying to get Font Awesome 5 to work for me, but it only almost does.
Wolfgang's code works and I get a nice list of symbols for all three variations, so ConTeXt obviously finds the font. But when I try to use a single symbol, ConTeXt prints the symbol name instead of the symbol. There must be something I'm overlooking, but I don't know what. Wiki wasn't very helpful, although we do have an entry on symbols (Font Awesome, on the other hand, isn't mentioned anywhere on the wiki).
I tried with \symbol[fontawesome-regular][credit-card] (at the end of my file) and a few variants thereof, but couldn't get the symbol. What am I doing wrong? What have I missed? Since you didn’t provide a example it’s difficult to tell what’s wrong for you but the following example works for me.
Don’t forget to put the files for fontawesome 5 in a folder where ConTeXt can find them.
\usesymbols[fontawesome]
\starttext
\symbol[fontawesome-regular][credit-card]
\symbol[fontawesome-solid][credit-card]
\stoptext
Wolfgang
Hello!
That was it, I forgot rule one: update your ConTeXt before asking
questions. I updated to newest current and everything started working.
Thank you,
Mari
On Thu, Nov 1, 2018 at 2:59 PM Wolfgang Schuster
Hi Mari,
you have to update your installation because fontawesome 5 uses a new machanism to load the symbols from the font files. The first version of the mechanism from August did only work when you enabled the symbol set for the whole document and extended support was added in September.
Wolfgang
Mari Voipio schrieb am 01.11.18 um 13:51:
Hi Wolfgang et al,
I did some more research into this.
If I put \symbol after \showsymbolset, the font gets loaded and the symbols show up as expected. If I put \symbol before \showsymbolset, the font seems to get loaded, but instead of the symbol I get its name printed. If I remove the \showsymbolset commands altogether, the correct font doesn't get loaded at all (as far as I understand from the log) and understandably I get no symbols then. I didn't touch the stuff above \starttext, just moved the \symbol commands around. As far as I can tell, the font is properly installed and ConTeXt finds it (otherwise \showsymbolset wouldn't work, I think). But I've got a nagging feeling I'm missing something somewhere else. Unfortunately I'm on thin ice here, fonts really aren't my forte.
Mari On Thu, Nov 1, 2018 at 1:45 PM Wolfgang Schuster
wrote: Mari Voipio schrieb am 01.11.18 um 12:04:
Hi,
I'm trying to get Font Awesome 5 to work for me, but it only almost does.
Wolfgang's code works and I get a nice list of symbols for all three variations, so ConTeXt obviously finds the font. But when I try to use a single symbol, ConTeXt prints the symbol name instead of the symbol. There must be something I'm overlooking, but I don't know what. Wiki wasn't very helpful, although we do have an entry on symbols (Font Awesome, on the other hand, isn't mentioned anywhere on the wiki).
I tried with \symbol[fontawesome-regular][credit-card] (at the end of my file) and a few variants thereof, but couldn't get the symbol. What am I doing wrong? What have I missed? Since you didn’t provide a example it’s difficult to tell what’s wrong for you but the following example works for me.
Don’t forget to put the files for fontawesome 5 in a folder where ConTeXt can find them.
\usesymbols[fontawesome]
\starttext
\symbol[fontawesome-regular][credit-card]
\symbol[fontawesome-solid][credit-card]
\stoptext
Wolfgang
participants (2)
-
Mari Voipio
-
Wolfgang Schuster