freetype
[Top][All Lists]
Advanced

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

Re: [ft] missing kerning information for Microsoft Calibri font


From: Róbert Márki
Subject: Re: [ft] missing kerning information for Microsoft Calibri font
Date: Mon, 4 Oct 2010 21:31:30 +0200

Hi

You can extract the code required to bind FT with HB from the shaping test application which is in the test folder of HB.

On Mon, Oct 4, 2010 at 8:50 PM, Christopher Lux <address@hidden> wrote:
On Sun, Oct 3, 2010 at 8:47 PM, Adam Twardoch (List)
<address@hidden> wrote:
>> using the latest freetype 2.4.2 version i always get 0 back from
>> FT_Get_Kerning using the Microsoft Calibri font (Windows 7 version).
>> Other fonts give me correct kerning offsets.
> FT_Get_Kerning only has access to the old "kern" TrueType table, which
> Calibri does not include. Kerning in Calibri is realized only using the
> modern "kern" feature implemented in the "GPOS" OpenType table. To
> access that table, you should use an OpenType Layout engine such as
> HarfBuzz, Pango, ICU Layout, Uniscribe, Bitstream Panorama or Monotype
> WorldType, before you use FreeType to perform the glyph imaging.
>
> This is a good idea anyway. FreeType is useful to perform glyph imaging,
> but its text layout abilities are very limited.

Are there any tutorials on the Web how to use HarfBuzz in corporation
with FreeType for the font layout? I am using FreeType to raste fonts
i render using OpenGL.

Thanks and Regards
-chris

_______________________________________________
Freetype mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype


reply via email to

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