summaryrefslogtreecommitdiff
path: root/src/cff/cf2font.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cff/cf2font.c')
-rw-r--r--src/cff/cf2font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cff/cf2font.c b/src/cff/cf2font.c
index 25514373b..c81f93845 100644
--- a/src/cff/cf2font.c
+++ b/src/cff/cf2font.c
@@ -447,7 +447,7 @@
/* choose a constant for StdHW that depends on font contrast */
stdHW = cf2_getStdHW( decoder );
- if ( stdHW > 0 && font->stdVW > 2 * stdHW )
+ if ( stdHW > 0 && font->stdVW > OVERFLOW_MUL_INT32( 2, stdHW ) )
font->stdHW = FT_DivFix( cf2_intToFixed( 75 ), emRatio );
else
{