[NTG-context] faking fonts with simplefonts

Wolfgang Schuster schuster.wolfgang at gmail.com
Sat Jul 27 06:48:41 CEST 2013


Am 26.07.2013 um 22:22 schrieb Pablo Rodríguez <oinos at web.de>:

> Dear list,
> 
> I don’t get slanted fonts that I have to fake for a monospaced typeface
> that lacks an italic font.
> 
> Here is a sample with a standard font that shows the same problem:
> 
>    \usemodule[simplefonts]
>    \definefontfeature[fakeitalic][default][slant=.25]
>    \setmonofont[DejaVu Sans Mono][italicfont={*},
>      italicfeatures=fakeitalic]
>    \setupbodyfontenvironment[default][em=italic]
>    \starttext
>    \tex{define}{\tt\em<nombredelaclasedeelemento>},
>    {\tt\em<nombredelaclasedeelemento>}.
>    \stoptext
> 
> I can only get the second \em working, unless I don’t fake it.
> 
> What am I doing wrong here?

It’s a (already mentioned) LuaTeX bug.

Wolfgang


More information about the ntg-context mailing list