Re: text string bounding box - top and bottom limits?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
Manager, Sequence Analysis Facility, Biology Division, Caltech
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux