[NTG-context] Fonts switching and styles ..

Dirar BOUGATEF chabah5 at hotmail.com
Mon Nov 22 15:47:48 CET 2004


i have tried this, and leads to:

bodyfont       : unknown variant MyFont

\usetypescriptfile[karat-type]
\usetypescript[karat]

\usetypescriptfile[opulent-type]
\usetypescript[opulent]

\usetypescript [sans][karat][map,name]
\definefont[MyFont][karat]

\starttext
\switchtobodyfont[karat]
Madame, Monsieur

\switchtobodyfont[opulent]
Madame, Monsieur

\switchtobodyfont[MyFont]
Madame, Monsieur
\stoptext




More information about the ntg-context mailing list