Am 10.04.2015 um 08:43 schrieb Harald Koenig
: On Apr 09, Wolfgang Schuster wrote:
You can use the fallback mechanism to use a different font for characters which aren’t available in the main font.
\definefallbackfamily [mainface] [rm] [Devanagari MT] [range=devanagari,scale=1.2] \definefontfamily [mainface] [rm] [TeX Gyre Pagella]
\definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
\setupbodyfont[mainface]
\starttext Danke – धन्यवाद \stoptext
doesn't work for me -- the indien glyphs don't show up:-(
You forgot the “range” setting for the fallback font which tells context which glyphs should be taken from the font. \definefallbackfamily [mainface] [rm] [Lohit Devanagari] [range=devanagari,scale=1.2] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] \starttext Danke – धन्यवाद \stoptext Wolfgang