[NTG-context] fallback font in new interface to simplefonts

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Jan 25 13:20:08 CET 2014


Hi Pablo,  

you have to use the name of the font family (the name which is displayed in word processors when you choose a font). When you want to use the bold font for the upright style you can add “tf=style:bold” to the fourth argument of \definefallbackfamily.  

  \definefallbackfamily[mainface][serif][FreeMono][tf=style:bold,range={hebrew,alphabeticpresentationforms}]  

BTW: You can omit “force=yes” because it’s part of the default setup.  

Wolfgang  

On 25.01.2014 13:10:44, Pablo Rodriguez <oinos at gmx.es> wrote: Dear list,

the following code doesn’t find the fallback font for Hebrew:

\definefallbackfamily[mainface][serif][FreeMono-Bold][range={hebrew,
alphabeticpresentationforms}, force=yes]
\definefontfamily[mainface][serif][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
ץ׃​.
\stoptext

But the same font works with the old interface:

\usemodule[simplefonts]
\setmainfontfallback[FreeMono-Bold][range={hebrew,
alphabeticpresentationforms}, force=yes]
\setmainfont[TeX Gyre Pagella]
\starttext
ץ׃​.
\stoptext

Am I doing something wrong here?

Many thanks for your help,


Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140125/16242faa/attachment.html>


More information about the ntg-context mailing list