There's one issue, though.  Have a look at Ins_MIAP: I have changed
your diff
[...]
to retain the original logic.  Please check.

I think this patch restores the actual original logic. No idea if it's a good idea either way.
>From b70a5a107552964e1f4beb3528bda25716aeca39 Mon Sep 17 00:00:00 2001
From: Nikolaus Waxweiler <madig...@gmail.com>
Date: Sat, 21 May 2016 10:13:45 +0200
Subject: [PATCH] Ins_MIAP: Revert Infinality twilight zone logic to original

In the twilight zone, the Infinality code prevented modifications to the
x-coordinate of points in ignore_x_mode or sph_compatibility_mode.
Commit ed1d8983f3826124e814145b7556fc8f03ae88df changed this to require
being in *both* ignore_x_mode and sph_compatibility_mode. Revert.
---
 src/truetype/ttinterp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index c6df129..10bf779 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -5864,7 +5864,7 @@
       /* Only adjust if not in sph_compatibility_mode or ignore_x_mode. */
       /* Determined via experimentation and may be incorrect...         */
       if ( !( SUBPIXEL_HINTING_INFINALITY           &&
-              ( exc->ignore_x_mode                &&
+              ( exc->ignore_x_mode                ||
                 exc->face->sph_compatibility_mode ) ) )
 #endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
         exc->zp0.org[point].x = TT_MulFix14( distance,
-- 
2.5.5

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to