freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] is it possible to retrieve whole kerning table?


From: Werner LEMBERG
Subject: Re: [ft-devel] is it possible to retrieve whole kerning table?
Date: Tue, 17 Jan 2006 01:25:49 +0100 (CET)

> It would be nice, though, if freetype had some kind of higher level
> interface to the kerning tables, so that other font formats than
> TrueType could be supported as well.

This won't happen.  Please remember that modern OpenType fonts don't
have a `kern' table but a `kern' feature in the `GPOS' table.  To use
this data correctly you have to apply kerning not on single glyph
pairs but on glyph strings.  With other words, you need a layout
engine which can handle OpenType.  Use Pango, Qt, or ICU.

If you really need only the `kern' table it's really the easiest
solution if you write some code by yourself which fits your needs.


    Werner




reply via email to

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