fallback font in new interface to simplefonts
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
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
On 01/25/2014 01:20 PM, Wolfgang Schuster wrote:
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.
Many thanks for your help, Wolfgang. Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster