[XeTeX] Missing ligatures (0.997)
Bruno Voisin
bvoisin at mac.com
Tue Jul 31 15:29:46 CEST 2007
Le 31 juil. 07 à 15:00, Stephen Moye a écrit :
> Still, I'm curious: Would there be some way of getting XeTeX to
> treat the Lucida Bright tfm-based
> fonts in the same way that it supports the Computer Modern fonts?
> If I typeset this, relying
> solely on the tfm-based Lucida installation (from TUG):
>
> %%
>
> %!TEX TS-program = xelatex
>
> \documentclass{article}
>
> \RequirePackage[mathitalic2,expert,nolucidascale]{lucidabr}
> \RequirePackage[T1]{fontenc}
>
> \begin{document}
>
> This is a simple finite test. $x^2+y^2=z^2$
>
> \end{document}
>
> %%
>
> The math comes out right (in LB), but the text appears as a generic
> sans serif, meaning,
> I take it, that the metrics were found (the 'fi' of 'finite'
> appears as a box in the preview)
> but not the outlines...
What I customarily use, and which works, is the above except for the
encoding:
\usepackage[LY1]{fontenc}
I don't remember whether LY1 encoding works out-of-the-box with
TeXLive-2007, or whether I had to add support for it manually.
The problem, I think, comes from virtual fonts: LY1 doesn't use them,
but T1 does. And given the line
> %!TEX TS-program = xelatex
you seem to be working on the Mac with TeXShop and the default XeTeX
engine, meaning that XeTeX invokes implicitly the XDVI-to-PDF
converter xdv2pdf, which doesn't support virtual fonts.
Have you tried invoking xdvipdfmx instead, which supports virtual
fonts? Given your setup, quit TeXShop, go to ~/Library/TeXShop/
Engines/Inactive/XeTeX/ and move
XeLaTeX-xdvipdfmx.engine
XeTeX-xdvipdfmx.engine
to ~/Library/TeXShop/Engines/. Then re-open your test file in
TeXShop, replace the line
> %!TEX TS-program = xelatex
by
%!TEX TS-program = xelatex-xdvipdfmx
and proceed. Do things change this way?
Bruno Voisin
More information about the XeTeX
mailing list