[Fontconfig] text string bounding box - top and bottom limits?
behdad at behdad.org
Wed Oct 10 16:04:21 PDT 2012
On 12-10-10 07:02 PM, mathog wrote:
> Tried it - FT_Glyph_Get_CBox() corresponds to the exact fit on the glyph. So
> how does one find the
> yMax,yMin limits for the font as a whole? If it was just English one could
> feed in
> an "M" and a "y", or something like that, but for a completely arbitrary
> language, where
> the identity of the limiting y extent characters is not known ahead of time
> (by the programmer, if not
> the end user)?
Check out FT_Face and FT_Face->metrics.
> Thank you,
> David Mathog
> mathog at caltech.edu
> Manager, Sequence Analysis Facility, Biology Division, Caltech
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
More information about the Fontconfig