Also - as I have already invested much time in Freetype I no longer have time
to integrate a different library such as Pango - is there somewhere I can
obtain freely distributable TTF files that contains kerning information that
can be handled by Freetype?
Thank-you!
From: lost_bits1...@hotmai
> Also - as I have already invested much time in Freetype I no longer
> have time to integrate a different library such as Pango - is there
> somewhere I can obtain freely distributable TTF files that contains
> kerning information that can be handled by Freetype?
If a font doesn't contain a `GPO
>> Note, however, that today many fonts contain kerning in the GPOS
>> table which is not handled by FreeType. Instead, you have to use a
>> higher-level library like Pango or ICU.
>
> FT_HAS_KERNING will return true for these types of fonts?
No.
> When I call, FT_Get_Kerning, the `akerning' va
> I check if my TTF file has kerning information using FT_HAS_KERNING,
> and this returns true. I then use: FT_Get_Kerning(face, prev, next,
> FT_KERNING_DEFAULT, &delta); to determine the kerning value, but
> delta.x returns 0. How can I debug why the kerning value is 0 even
> though FT_HAS_KER
Thanks for your reply -
> Note, however, that today many fonts contain kerning in the GPOS table
> which is not handled by FreeType. Instead, you have to use a
> higher-level library like Pango or ICU.
FT_HAS_KERNING will return true for these types of fonts? When I call,
FT_Get_Kerning, the ake
> In order to draw my text, I currently make calls to:
>
> FT_Get_Char_Index
> FT_Load_Glyph
> FT_Render_Glyph
>
> and then I store the bitmap of each ascii character to memory, so
> that once I actually render the character, I can simply call on the
> stored bitmap.
>
> The problem is that
Hello,
I check if my TTF file has kerning information using FT_HAS_KERNING, and this
returns true.
I then use:FT_Get_Kerning( face, prev, next, FT_KERNING_DEFAULT, &delta );
to determine the kerning value, but delta.x returns 0.
How can I debug why the kerning value is 0 even though FT_HAS_KERNI
In order to draw my text, I currently make calls to:
FT_Get_Char_IndexFT_Load_GlyphFT_Render_Glyph
and then I store the bitmap of each ascii character to memory, so that once I
actually render the character, I can simply call on the stored bitmap.
The probl