From 298608d1d22e2e3dd9d6d43fafaa86f2fcab0d23 Mon Sep 17 00:00:00 2001 From: Kal Conley Date: Sat, 15 Oct 2011 09:09:59 +0200 Subject: [PATCH] Fix conditions for autohinting. * src/base/ftobjs.c (FT_Load_Glyph): Handle FT_LOAD_IGNORE_TRANSFORM. --- ChangeLog | 7 +++++++ src/base/ftobjs.c | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3db02a4a2..29925699c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-15 Kal Conley + + Fix conditions for autohinting. + + * src/base/ftobjs.c (FT_Load_Glyph): Handle + FT_LOAD_IGNORE_TRANSFORM. + 2011-10-07 suzuki toshiya [gxvalid] Fix a bug to detect too large offset in morx table. diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index ad06f20f9..e2ee5744a 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -620,7 +620,8 @@ FT_DRIVER_IS_SCALABLE( driver ) && FT_DRIVER_USES_OUTLINES( driver ) && !FT_IS_TRICKY( face ) && - ( ( face->internal->transform_matrix.yx == 0 && + ( ( load_flags & FT_LOAD_IGNORE_TRANSFORM ) || + ( face->internal->transform_matrix.yx == 0 && face->internal->transform_matrix.xx != 0 ) || ( face->internal->transform_matrix.xx == 0 && face->internal->transform_matrix.yx != 0 ) ) )