shithub: freetype+ttf2subf

Download patch

ref: 5224aae8bbe558fef4f6174bd83ff0382bb15c1b
parent: 53059f92d6109cd427903ded1914bc2057ec78ae
author: Werner Lemberg <[email protected]>
date: Wed Aug 10 15:47:29 EDT 2016

[sfnt] Use correct type for `italicAngle' field (#48732).

* src/sfnt/ttload.c (tt_face_load_post): Fix types.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-10  Werner Lemberg  <[email protected]>
+
+	[sfnt] Use correct type for `italicAngle' field (#48732).
+
+	* src/sfnt/ttload.c (tt_face_load_post): Fix types.
+
 2016-08-06  Jon Spencer  <[email protected]>
 
 	[sfnt] Fix `FT_Get_Advance' for bitmap strikes.
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -1184,8 +1184,8 @@
 #define FT_STRUCTURE  TT_Postscript
 
       FT_FRAME_START( 32 ),
-        FT_FRAME_ULONG( FormatType ),
-        FT_FRAME_ULONG( italicAngle ),
+        FT_FRAME_LONG ( FormatType ),
+        FT_FRAME_LONG ( italicAngle ),
         FT_FRAME_SHORT( underlinePosition ),
         FT_FRAME_SHORT( underlineThickness ),
         FT_FRAME_ULONG( isFixedPitch ),