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 <oi...@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@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
___________________________________________________________________________________
 
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to