[NTG-context] Preliminary support for the Luxi typeface

Giuseppe Bilotta gip.bilotta at iol.it
Fri Jul 8 18:04:31 CEST 2005


I couldn't find the appropriate typescript definition in
ConTeXt, so here's the initial stuff:

\starttypescript[mono][luxi][\defaultencoding]
  \definefontsynonym[Luxi]               [\defaultencoding-ul9r8a] [encoding=\defaultencoding]
  \definefontsynonym[LuxiBold]           [\defaultencoding-ul9b8a] [encoding=\defaultencoding]
  \definefontsynonym[LuxiOblique]        [\defaultencoding-ul9ro8a][encoding=\defaultencoding]
  \definefontsynonym[LuxiBoldOblique]    [\defaultencoding-ul9bo8a][encoding=\defaultencoding]
\stoptypescript

% Maybe should map Slanted, not Italic
\starttypescript[mono][luxi][name]
  \definefontsynonym[Mono][Luxi]
  \definefontsynonym[MonoBold][LuxiBold]
  \definefontsynonym[MonoItalic][LuxiOblique]
  \definefontsynonym[MonoBoldItalic][LuxiBoldOblique]
\stoptypescript

Of course there's the usual Berry name mapping needed if you only
have the LaTeX metrics, which go to the regular expression

ul9[rb]o?8[artc]

as usual.

-- 
Giuseppe "Oblomov" Bilotta



More information about the ntg-context mailing list