shithub: freetype+ttf2subf

Download patch

ref: d708658c4a5a196819977211e1298d6e4a69c789
parent: e5c0fff5afa830947309638b714adffec7de15a0
author: Werner Lemberg <[email protected]>
date: Fri Jun 13 11:56:11 EDT 2014

And another warning from Wojciech.

git/fs: mount .git/fs: mount/attach disallowed
--- 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 /