[XeTeX] \XeTeXuseglyphmetrics (was Re: Re: [OS X TeX] gtamacfonts ligatures: PDF searchability)
Bruno Voisin
bvoisin at mac.com
Thu May 18 11:01:25 CEST 2006
Le 18 mai 06 à 09:59, Bruno Voisin a écrit :
> I'm still missing the tightier and more regular spacing from the
> third case, which seems essentially caused by the different
> placement of the superscript "1/2" (a bit further on the right, and
> further down, in pdfLaTeX). I've not managed to understand how the
> metrics were created for the Hoefler Text font in the gtamacfonts
> collection of packages; hence I've no idea on what could be done in
> XeTeX about this, if anything can indeed be done.
Looking more closely, I'm having the impression this might be a XeTeX
feature: XeTeX calculating the glyph metrics for the standard font
size, and using it afterwards for all sizes without scaling it fully;
or applying \lineskiplimit differently depending on the size; or the
way font sizes and associated placement parameters are defined in
LaTeX playing bad with XeTeX font model.
What has me thinking this: the earlier example was from a figure
caption, typeset in \footnotesize; and looking more closely, I'm not
seeing exactly the same effect in the body of the paper, in
\normalsize. Namely, descenders on one line followed by superscripts
on the next line add some interline spacing in \footnotesize:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 11.png
Type: image/png
Size: 17631 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060518/315cd709/attachment-0003.png
-------------- next part --------------
but not in \normalsize:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 12.png
Type: image/png
Size: 18580 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060518/315cd709/attachment-0004.png
-------------- next part --------------
In \normalsize I'm even seeing XeTeX accepting practically zero
vertical space between a descender and a superscript:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 10.png
Type: image/png
Size: 45055 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20060518/315cd709/attachment-0005.png
-------------- next part --------------
I'll stop here, as I'm really only guessing.
Bruno Voisin
More information about the XeTeX
mailing list