[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Galette kerning issues
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Galette kerning issues |
Date: |
Sat, 04 Apr 2009 18:26:31 +0200 (CEST) |
> I'm working on an sdl+opengl+freetype project. I'm using the Galette
> face (galette-med.otf OpenType font) and I have issues with
> kerning. Here is an image taken from my application:
> http://picasaweb.google.com/lh/photo/TZl7LHGaFVfF-wOWA_q-Mw?feat=directlink
>
> And here is an image taken from gimp using the same font and the
> same text.
> http://picasaweb.google.com/lh/photo/K-ifF9MnGu9UFJu4U1h7Sw?feat=directlink
>
> Obviously my kerning is wrong. [...]
I suspect that this font contains no `kern' table at all -- the
kerning is probably contained in the `GPOS' table. This is not
covered by FreeType's API. You should use a higher-level library to
access it, say, Pango or ICU.
Werner