> Is there any way to get, for given font size (in points), resolution
> and transformation, a "bounding box" for a face i.e. rectangle,
> measured in points, that will be large enough to contain any of the
> font's glyphs, and offsets necessary to place a glyph correctly
> within such a rectangle?

FT_FaceRec -> bbox

> The only thing I can think of now is to iterate through the glyphs
> and look at their bitmap rows and bitmap-tops... :(

If you want an *exact* bounding box for just a few glyphs, you have to
do that.  To implement fast glyph rendering it is of great importance
to cache the results.


    Werner


_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype
  • [ft] bbox? Dmitri Hrapof
    • Re: [ft] bbox? Werner LEMBERG

Reply via email to