shithub: freetype+ttf2subf

Download patch

ref: b3d9f882d0a0fce056d238a507267327301ee456
parent: a00ff98a503cb246c6b321d4150352455281d86e
author: Werner Lemberg <[email protected]>
date: Wed Jun 6 01:56:59 EDT 2001

Fixed length of `Reserved' array.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-06  Werner Lemberg  <[email protected]>
+
+	* src/include/freetype/tttables.h (TT_HoriHeader_, TT_VertHeader_):
+	Fix length of `Reserved' array.  Note that this isn't the real fix
+	since recent OpenType specs have introduced a `CaretOffset' field
+	instead of the first reserved byte.
+
 2001-05-29  Werner Lemberg  <[email protected]>
 
 	* INSTALL: Minor fixes.
--- a/include/freetype/tttables.h
+++ b/include/freetype/tttables.h
@@ -187,7 +187,7 @@
     FT_Short   caret_Slope_Run;
     FT_Short   caret_Offset;
 
-    FT_Short   Reserved[4];
+    FT_Short   Reserved[5];
 
     FT_Short   metric_Data_Format;
     FT_UShort  number_Of_HMetrics;
@@ -309,7 +309,7 @@
     FT_Short   caret_Slope_Run;
     FT_Short   caret_Offset;
 
-    FT_Short   Reserved[4];
+    FT_Short   Reserved[5];
 
     FT_Short   metric_Data_Format;
     FT_UShort  number_Of_VMetrics;