freetype-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]