[Fontconfig] text string bounding box - top and bottom limits?
mathog
mathog at caltech.edu
Wed Oct 10 16:02:12 PDT 2012
On 10-Oct-2012 15:42, mathog wrote:
> There are two cases too: boundary fits one particular string (box
> fits specific glyphs exactly) and the limit bounding box for the
> whole
> font (bounding box height fits any characters in text).
>
> Where does one obtain these values? I see FT_Glyph_Get_CBox() and
> assume it corresponds to one of these cases, but I'm not sure which
> one.
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)?
Thank you,
David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech
More information about the Fontconfig
mailing list