>From b70a5a107552964e1f4beb3528bda25716aeca39 Mon Sep 17 00:00:00 2001 From: Nikolaus Waxweiler 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