[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] diff Pixel height
From: |
Werner LEMBERG |
Subject: |
Re: [ft] diff Pixel height |
Date: |
Thu, 18 Feb 2010 23:23:38 +0100 (CET) |
> 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
- Re: [ft] diff Pixel height, samaram s, 2010/02/01
- Re: [ft] diff Pixel height, Werner LEMBERG, 2010/02/02
- Message not available
- Re: [ft] diff Pixel height, Werner LEMBERG, 2010/02/16
- Re: [ft] diff Pixel height, samaram s, 2010/02/17
- Re: [ft] diff Pixel height, Werner LEMBERG, 2010/02/17
- Re: [ft] diff Pixel height, samaram s, 2010/02/18
- Re: [ft] diff Pixel height,
Werner LEMBERG <=
- Re: [ft] diff Pixel height, samaram s, 2010/02/22
- Re: [ft] diff Pixel height, Werner LEMBERG, 2010/02/22
- Re: [ft] diff Pixel height, samaram s, 2010/02/22
- Re: [ft] diff Pixel height, Werner LEMBERG, 2010/02/23