[XeTeX] XeTeXuseglyphmetrics

Ulrike Fischer news3 at nililand.de
Wed May 27 09:53:21 CEST 2009


Am Tue, 26 May 2009 17:50:17 +0200 schrieb SUN Wenchang:


> For the font primitive \XeTeXuseglyphmetrics, it is explained in
> XeTeX-reference.pdf that 
 
>> Counter to specify if the height and depth of characters are
>> taken into account while typesetting (≥ 1). Otherwise (< 1), a
>> single height and depth for the entire alphabet is used.
 
> Is it possible for this primitive to take the real width of
> characters into account? If yes, it would be helpful to set
> margin kerning (and much more) for Chinese punctuation
> characters. 

I don't understand the question. The width of a char is always
taking into accout during typesetting. "iii" has another width than
"mmm" for a proportional font. But in general it is not really
needed to check for each char if it is touching a chars on another
line. 


-- 
Ulrike Fischer 



More information about the XeTeX mailing list