From 21c2b3905cb3473da3dd729190f2fb2b66ce1140 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 30 Aug 2018 09:52:08 +0200 Subject: [PATCH] Minor. --- src/base/ftobjs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index fc0cf0db1..d4594b566 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -373,7 +373,7 @@ /* taking into account the origin shift */ FT_Outline_Get_CBox( outline, &cbox ); - /* rough estimte of pixel box */ + /* rough estimate of pixel box */ pbox.xMin = ( cbox.xMin >> 6 ) + ( x_shift >> 6 ); pbox.yMin = ( cbox.yMin >> 6 ) + ( y_shift >> 6 ); pbox.xMax = ( cbox.xMax >> 6 ) + ( x_shift >> 6 ); @@ -398,9 +398,7 @@ cbox.xMax = cbox.xMin + 64; } else if ( pbox.xMax - pbox.xMin == 1 ) - { cbox.xMin = cbox.xMax = ( cbox.xMin + cbox.xMax ) / 2; - } pbox.xMin += ( cbox.xMin + 32 ) >> 6; pbox.xMax += ( cbox.xMax + 32 ) >> 6; @@ -411,9 +409,7 @@ cbox.yMax = cbox.yMin + 64; } else if ( pbox.yMax - pbox.yMin == 1 ) - { cbox.yMin = cbox.yMax = ( cbox.yMin + cbox.yMax ) / 2; - } pbox.yMin += ( cbox.yMin + 32 ) >> 6; pbox.yMax += ( cbox.yMax + 32 ) >> 6;