On 3/8/12 2:40 PM, "Albert Astals Cid" <[email protected]> wrote:

>El Dimecres, 7 de març de 2012, a les 13:14:51, Josh Richardson va
>escriure:
>> Since HTML positions from the top of a span, not the baseline, it's very
>> important for me to know the true ascent of a font.  The odd font is not
>> accurate with the reported value of this metric, and the incorrect value
>> seems to be the value that's stored in Poppler's GfxFont.  Any
>>suggestions
>> on how to find the true value?  I think free type 2 has functions that
>> allow me to get at the true bounding box by tracing the arcs of
>>component
>> splines, so I'm considering linking against that, but I'd love to know
>>if
>> there is a cleaner way to do it.
>
>I don't think there's another way than actually looking at the real font
>(i.e. 
>using freetype).

Cool, turns out it's not as bad as I thought, since Freetype is already
linked in.


--josh


_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to