[pshinter] Slightly simplify BlueShift application.

* src/pshinter/pshglob.c (psh_blues_scale_zones): Just divide.
This commit is contained in:
Alexei Podtelezhnikov
2025-11-17 08:22:37 -05:00
parent 04743f152a
commit 32fc0af222

View File

@@ -408,8 +408,8 @@
FT_Int threshold = blues->blue_shift;
while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 )
threshold--;
if ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 )
threshold = 32 * 0x10000L / scale;
blues->blue_threshold = threshold;
}