Hello,

What is better to use given the code below? \setupbodyfont or 
\switchtotypeface? Both produce the same result but in the second case my pdf 
file is twice bigger.. 


\enableregime[cp1251]
%\language[ru]\setuplanguage[ru]
\loadmapfile[t2a-monotype-timesttf.map]

\usetypescriptfile[type-buy]
\usetypescript[serif][fallback]


\starttypescript [serif] [myfont] [t2a]
  \definefontsynonym [Serif]           [t2a-TINRPSMT] [encoding=t2a]
  \definefontsynonym [SerifBold]       [t2a-TINRPSBM] [encoding=t2a]
  \definefontsynonym [SerifItalic]     [t2a-TINRPSIM] [encoding=t2a]
  \definefontsynonym [SerifBoldItalic] [t2a-TINRPSBI] [encoding=t2a]
\stoptypescript

\definetypeface [myFont] [rm] [serif] [myfont] [default] [encoding=t2a]
\definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encoding=t2a]
\definetypeface [myFont] [tt] [mono] [typewriter][default][encoding=t2a]

\setupbodyfont[myFont,12pt]
%\switchtotypeface[myFont][12pt]


-- 
Best,
 Vyatcheslav                          

_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to