Picking out font extents for fixed size fonts
Karl Trygve Kalleberg <[email protected]>
| Newsgroups | gmane.comp.xfree86.render |
|---|---|
| Organization | ProSalg as |
| Message-ID | <[email protected]> |
Hi. I am writing (patching actually) an application where I am only interested in rendering fixed-size fonts using Xft, to benefit from anti-aliasing. What is the canoncial way of figuring out the maximal extents that a glyph cell needs ? The only values in FT_FaceRec_ that seem to make sense numerically are the max_advance_width and max_advance_height. Will I need to traverse all glyphs and collect their extents, even for fixed-size fonts ? Kind regards, Karl T