ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font Awesome (again)
@ 2018-10-07 13:26 Aditya Mahajan
  2018-10-07 13:43 ` Wolfgang Schuster
  2018-10-07 16:29 ` Ulrike Fischer
  0 siblings, 2 replies; 13+ messages in thread
From: Aditya Mahajan @ 2018-10-07 13:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

There is a FontAwesome.otf file that is distributed with ConTeXt minimals. 
Does anyone know what version (4 or 5) of the font it is? I am asking 
because the names of the symbols used in the font do not match those on 
the font-awesome website. For example, using

\showsymbolset[fontawesome]

I get that the symbol for "utensils" 
(https://fontawesome.com/icons/utensils?style=solid) is actually mapped to 
"food" in ConTeXt. Since the names of the symbols are now taken from the 
font, my guess is that the distribution has an old version of the font 
(also because it is a single font rather than three).

Would it make sense to update the fonts in the distribution? If not, then 
simply remove the old version of the fonts?

Also, don't we need to update the symb-imp-fontawesome.mkiv file to work 
with the new symbols. Font awesome has split the fonts into three
(https://fontawesome.com/how-to-use/on-the-desktop/setup/getting-started):
Solid, Regular, and Brands. (There are also pro version of the fonts). The 
simplest way to use them will be to have three symbolsets (fontawesome, 
fontawesome-solid, and fontawesome-brands), where the names are taken from 
the fonts.

In the meanwhile, Hraban has painstakenly written out the mappings by 
hand, but the automatic mapping might be simpler (and more future proof).
https://github.com/fiee/ConTeXt/blob/master/symbols/symb-awesome5.mkiv

Thanks,
Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-11-05  7:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-07 13:26 Font Awesome (again) Aditya Mahajan
2018-10-07 13:43 ` Wolfgang Schuster
2018-10-07 14:19   ` Hans Hagen
2018-10-07 15:25     ` Alan Braslau
2018-10-07 15:58       ` Hans Hagen
2018-10-07 15:39   ` Aditya Mahajan
2018-10-07 15:56     ` Hans Hagen
2018-11-01 11:04   ` Mari Voipio
2018-11-01 11:45     ` Wolfgang Schuster
     [not found]       ` <CAGbDsP0RRaF06=cxQ5rnkWK9vwABdcbfmTOVUHLGhD3DBHDhTg@mail.gmail.com>
2018-11-01 12:58         ` Wolfgang Schuster
2018-11-05  7:29           ` Mari Voipio
2018-10-07 16:29 ` Ulrike Fischer
2018-10-07 19:39   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).