[XeTeX] height and depth of characters

Will Robertson will at guerilla.net.au
Sat Mar 26 14:18:34 CET 2005


On 26 Mar 2005, at 11:32 PM, Stephen Moye wrote:

> I wanted to create a large rule that would be just large enough to fit 
> the text; stripped of the other bits and pieces, something like this:

One thing I've never worked out about techniques like this is that 
characters often *don't* fit exactly to their bounding boxes. (At least 
Knuth's don't...maybe he was an exception. Haven't taken the time to 
check.)

Maybe it's not bounding boxes we care about, but rather the maximum 
height/depth and left/right protrusion of each character. This sounds 
like a potentially more difficult problem to solve.

(Having said that, specific alphabetic x-heights are still of interest 
to me for scaling alphabets to the same height...)

Will



More information about the XeTeX mailing list