On Thu, Feb 18, 2010 at 5:23 PM, Werner LEMBERG
<address@hidden> wrote:
> I mean, If i would like to verify NO_HINTING option and see whether
> i get real Metrics of the Glyph, how can i do?
You can load a glyph with the no-hinting flag set, then doing the same
again without that flag.
Note that there is perhaps a misunderstanding: Hinting instructions
move points to improve the shape for a given pixel size; this often
changes the BBox. However, even if you use the unhinted outline of a
glyph, you have to rasterize it to get the *exact* dimensions in
pixels.
In other words: Regardless whether hinting is active or not, the real
BBox of a glyph rasterized at a certain pixel size can only be
determined after a glyph has been rendered.
Or to say it again in a different formulation: The BBox and CBox
functions provided by FreeType are by their very nature of limited use
if you need a *smallest* BBox at a given pixel size.
Werner