[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] character spacing
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] character spacing |
Date: |
Mon, 19 Sep 2011 07:23:52 +0200 (CEST) |
>> Note, however, that today many fonts contain kerning in the GPOS
>> table which is not handled by FreeType. Instead, you have to use a
>> higher-level library like Pango or ICU.
>
> FT_HAS_KERNING will return true for these types of fonts?
No.
> When I call, FT_Get_Kerning, the `akerning' value always gets set to
> (0,0), which from the sample code on freetype.org, looks like is an
> error. Could this indicate that the kerning information is in the
> 'GPOS' table? How can I know for sure, or is there a way to debug
> this?
There are fonts which have both kerning in `GPOS' and a `kern' table,
and the latter contains much less kerning pairs just for backwards
compatibility. As already mentioned, ttx is your friend.
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 <=
- 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