summaryrefslogtreecommitdiff
path: root/src/cff/cf2ft.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cff/cf2ft.c')
-rw-r--r--src/cff/cf2ft.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cff/cf2ft.c b/src/cff/cf2ft.c
index eb8472f11..3bc007b9b 100644
--- a/src/cff/cf2ft.c
+++ b/src/cff/cf2ft.c
@@ -267,8 +267,10 @@
if ( *hinted )
{
- *x_scale = ( decoder->builder.glyph->x_scale + 32 ) / 64;
- *y_scale = ( decoder->builder.glyph->y_scale + 32 ) / 64;
+ *x_scale = OVERFLOW_ADD_INT32( decoder->builder.glyph->x_scale,
+ 32 ) / 64;
+ *y_scale = OVERFLOW_ADD_INT32( decoder->builder.glyph->y_scale,
+ 32 ) / 64;
}
else
{