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

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

 



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