[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_Get_Kerning returns 0
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FT_Get_Kerning returns 0 |
Date: |
Mon, 19 Sep 2011 07:18:23 +0200 (CEST) |
> I check if my TTF file has kerning information using FT_HAS_KERNING,
> and this returns true. I then use: FT_Get_Kerning(face, prev, next,
> FT_KERNING_DEFAULT, &delta); to determine the kerning value, but
> delta.x returns 0. How can I debug why the kerning value is 0 even
> though FT_HAS_KERNING returns true?
Don't assume that there is a kerning value for all glyph pairs! Use a
program like `ttx' (sourceforge.net/projects/fonttools/) to get a dump
of a TrueType font. Then check whether there is a kerning value
between the two particular glyphs.
Werner
- [ft-devel] Sample TTF file?, Louis Desjardins, 2011/09/09
- Message not available
- [ft-devel] FT_GlyphSlot::advance.x versus FT_Bitmap::width for character spacing, Louis Desjardins, 2011/09/13
- Re: [ft-devel] character spacing, Werner LEMBERG, 2011/09/19
- Re: [ft-devel] character spacing, Louis Desjardins, 2011/09/19
- Re: [ft-devel] character spacing, Werner LEMBERG, 2011/09/19
- Re: [ft-devel] character spacing, Louis Desjardins, 2011/09/19
- Re: [ft-devel] character spacing, Werner LEMBERG, 2011/09/19
- Re: [ft-devel] character spacing, Louis Desjardins, 2011/09/19
- Re: [ft-devel] character spacing, Werner LEMBERG, 2011/09/19
- Re: [ft-devel] character spacing, James Cloos, 2011/09/19
- Re: [ft-devel] character spacing, Behdad Esfahbod, 2011/09/19
- Re: [ft-devel] character spacing, Louis Desjardins, 2011/09/19