Commit d708658c4a5a196819977211e1298d6e4a69c789

Werner Lemberg 2014-06-13T15:56:11

And another warning from Wojciech.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index cf886c8..180d559 100644
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -1353,7 +1353,7 @@
 
       tt_face_get_metrics( face, FALSE, glyph_index, &abearing, &aadvance );
 
-      metrics->horiBearingX = originOffsetX;
+      metrics->horiBearingX = (FT_Short)originOffsetX;
       metrics->horiBearingY = (FT_Short)( -originOffsetY + metrics->height );
       metrics->horiAdvance  = (FT_Short)( aadvance *
                                           face->root.size->metrics.x_ppem /