[XeTeX] XeTeXuseglyphmetrics

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed May 27 17:41:23 CEST 2009


Am 27.05.2009 um 17:34 schrieb SUN Wenchang:

> > That would be only useful if the bbox of the chars in the font has
> > the correct values (and then you wouldn't have a problem as the
> > width is already used) but as you said they don't have them.
> >
> > \XeTeXuseglyphmetrics doesn't trim spaces, it doesn't change a bbox.
> > The bbox of each char is already in the font and with
> > \XeTeXuseglyphmetrics you can choose to use is or to ignore it and
> > use a generic value instead. Not more.
> >
>
> At present, \XeTeXuseglyphmetrics  does trim (unvisible) spaces  
> above a glyph, that is, it changes the height.
>
> And we need a primitive to trim  horizental spaces.

With full featured OpenType fonts (e.g. Adobes Song/Heiti and Kozuka  
fonts)
you can use halt, hwid etc. to enable proportional punctuation.

Wolfgang



More information about the XeTeX mailing list