[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: |
Mon, 22 Feb 2010 18:29:15 +0100 (CET) |
> error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_HINTING);
>
> Family name of the font is --- Arial
> Style name of the font is --- Regular
> bbox = [-1 0 9 9]
>
> *Xmin is still negative.
Yes! I told you in a previous mail that the unhinted coordinate of
the leftmost pixel is NEGATIVE! FreeType always rounds to the
extreme, thus you get -1 and not 0.
> Can you please provide me syntax if i am doing wrong in setting the
> flags. How can i do if i want a MONOCHROME, RENDERED and NO_HINTING
> glyph metrics?
You mean glyph dimensions (the BBox), right? Glyph metrics is the
advance width, for example, and this is independent from the outline.
Again: The only way to get an exact BBox for a given DPI is to render
the glyph!
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, 2010/02/18
- Re: [ft] diff Pixel height, samaram s, 2010/02/22
- 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/23