[XeTeX] Full height lines

William Adams will.adams at frycomm.com
Wed Jan 14 16:50:10 CET 2009


On Jan 14, 2009, at 9:15 AM, Jeff Marion wrote:

> I'm trying to replicate the behavior of a non-tex based renderer and
> have each line of text take up a "full" line in the current font. So  
> all
> else being equal, "Foo" and "oo" would render with the same baseline
> position, rather than the usual tex behavior of the "oo" shifting up.
>
> I'm able to achieve almost what I need by bottom aligning text  
> within a
> minipage, descenders flow out (good) and my baseline is unaffected by
> height changes. Unfortunately it's necessary to have the text be top
> aligned.
>
> Does anyone know of anyway to do this or something similar? I've gone
> through my copy of The TextBook twice now and scoured the web looking
> for any way to do this. I know the standard fontdimens don't expose
> enough data to do it but is there more metrics data available that I  
> can
> pull possibly?


If I understand and recall correctly, there's a xetex preference for  
this --- \XeTeXuseglyphmetrics --- you want to set it to zero.

\XeTeXuseglyphmetrics0

William


-- 
William Adams
senior graphic designer
Fry Communications




More information about the XeTeX mailing list