From 2c4b0465c1b95016a75a5fa10abe0ebb73170ee6 Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Tue, 20 May 2014 13:11:44 -0700 Subject: cf2hints: Fix early loop termination causing hints to be ignored. There was a comparison that checks maskEndPtr >= maskEndPtr. It has been fixed to maskPtr >= maskEndPtr. BUG=375139 Patch by Matt Giuca --- core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2hints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2hints.c b/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2hints.c index b3f6a04fca..e0755b4c3c 100644 --- a/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2hints.c +++ b/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/cf2hints.c @@ -830,7 +830,7 @@ { /* move to next mask byte */ maskPtr++; - if (maskEndPtr >= maskEndPtr) + if (maskPtr >= maskEndPtr) { break; } -- cgit v1.2.3