[luatex] not able to load a PostScript font
Khaled Hosny
khaledhosny at eglug.org
Sun Jul 25 22:22:18 CEST 2010
On Sun, Jul 25, 2010 at 10:07:08PM +0200, Pablo Rodríguez wrote:
> Hi there,
>
> I have tried to use in the same single LuaLaTeX document an OpenType
> font and a PostScript font.
>
> \documentclass[10pt]{book}
> \usepackage{luaotfload}
> \usepackage[EU2]{fontenc}
> \usepackage{fontspec}
> \setmainfont{Theano Didot}
> \setmonofont{WebOMints GD}
> \begin{document}
> This is only a test.
> \end{document}
>
> But I get an error, because fontspec is not able to find the metrics
> for the PostScript font.
Fontspec (luaotfload actually) doesn't support Type1 (postscript) fonts.
ConTeXt has code to load Type1 fonts using AFM files, but this code
didn't get into luaotfload, you can use Type1 fonts through old TeX TFM
machinery instead (i.e. no fontspec).
Regards,
Khaled
--
Khaled Hosny
Arabic localiser and member of Arabeyes.org team
Free font developer
More information about the luatex
mailing list