[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] FT_Load_Glyph && FT_LOAD_IGNORE_TRANSFORM
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] FT_Load_Glyph && FT_LOAD_IGNORE_TRANSFORM |
Date: |
Fri, 14 Oct 2011 22:50:26 +0200 (CEST) |
Sorry for the late response.
> I'm trying to figure out if the following two snippets of code will
> load the glyph in the same way in all cases...
>
> Snippet#1:
> ---------------
> FT_Set_Transform(face, NULL, NULL);
> FT_Load_Glyph(face, glyph_index, load_flags);
>
> Snippet#2:
> ---------------
> FT_Load_Glyph(face, glyph_index, load_flags | FT_LOAD_IGNORE_TRANSFORM);
>
> I question this because FT_Load_Glyph uses the following logic when
> determining if auto-hinting should be used: [...]
>
> The decision is based on the transformation matrix without
> considering if the FT_LOAD_IGNORE_TRANSFORM bit is set. Is this a
> bug? Does the glyph always get loaded the same way in both cases?
This really looks like a bug. Can you provide a fix?
Werner