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 <[email protected]>wrote:

> On Sun, Oct 3, 2010 at 8:47 PM, Adam Twardoch (List)
> <[email protected]> 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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/freetype
>
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to