[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Kerning not working
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Kerning not working |
Date: |
Tue, 17 Jul 2012 03:20:13 +0200 (CEST) |
> Not all combinations returns kerning values.
> Example: AV
>
> Is this my code fault?
Your code looks OK. However, there are two potential problems:
(a) It possible that the font doesn't contain kerning between `A and
`V'.
(b) The font contains a `kern' feature in the OpenType `GPOS' table
which usually has a much richer set of kerning values. Since
you need an OpenType engine to correctly handle, FreeType's
FT_Get_Kerning function doesn't support this.
Werner