[XeTeX] fontsizes and interlinear space

Pablo Rodríguez oinos at web.de
Tue Aug 22 19:01:02 CEST 2006


>> Using XeLaTeX, I experience something that I have never experienced in
>> LaTeX (as far as I can remember). Paragraphs do have different
>> interlinear spaces within the same paragraph.
>>
>> Probably this is caused by a flawed font design (('m using GFS Didot),
>> but I wonder whether there is a way to fix this with XeTeX.
> 
> Maybe, maybe not.
> You'll need to be more precise; can you post a minimal example of a
> paragraph that does this?

Thanks for the answer, Will.

I'm not sure, but I think that XeLaTeX (or whatever it might be) seems
not to get the font size from the ascent and descent (which is common to
all glyphs), but from the actual glyph.

In the sample bellow, lines with É have a bigger interlinear space than
the others.

\documentclass[a4paper,12pt]{article}
\usepackage[spanish]{babel}
\usepackage{fontspec,xunicode,xltxtra}

\setromanfont{GFS Didot}
\begin{document}
De manera especialísima se advierte en el discípulo de Platón la
insatisfacción que le producen las tentativas de su maestro y la
determinación que le lleva a intentar dar una respuesta al inquietante
problema, a la oscura cuestión del no-ser. Ése, aunque formulado ahora
de forma insuficiente, pudo ser el reto de Aristóteles. Ésa es, al
menos, una de las formas en que se puede leer el texto de
\emph{filosofía primera} de Aristóteles.
\end{document}

I hope it helps,


Pablo


More information about the XeTeX mailing list