[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: Kal Conley
Subject: Re: [ft-devel] FT_Load_Glyph && FT_LOAD_IGNORE_TRANSFORM
Date: Sat, 15 Oct 2011 01:31:36 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111012 Thunderbird/8.0

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...

FT_Set_Transform(face, NULL, NULL);
FT_Load_Glyph(face, glyph_index, load_flags);

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?

Here is a patch. :)

Attachment: conley0.patch
Description: Text document

reply via email to

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