shithub: freetype+ttf2subf

Download patch

ref: f467e6a93f8caa6c7ef997ef328ba92d7c7ac009
parent: a8199d608fcba1707a14da59b4bed91c77285dc1
author: David Turner <[email protected]>
date: Wed Aug 21 17:39:28 EDT 2002

* include/freetype/freetype.h, src/base/ftobjs.c: changing the type
        of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from
        "FT_Int" to "FT_Int32", this in order to support more options.

        this should only break binary and/or source compatibility on
        16-bit platforms (Atari?)

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,13 @@
         * src/tools/docmaker/docmaker.py, src/tools/docmaker/utils.py,
         src/tools/docmaker/tohtml.py: updating the DocMaker tool
 
+        * include/freetype/freetype.h, src/base/ftobjs.c: changing the type
+        of the "load_flags" parameter of FT_Load_Glyph and FT_Load_Char from
+        "FT_Int" to "FT_Int32", this in order to support more options.
+        
+        this should only break binary and/or source compatibility on
+        16-bit platforms (Atari?)
+
 
 2002-08-20  Werner Lemberg  <[email protected]>
 
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -1910,7 +1910,7 @@
   FT_EXPORT( FT_Error )
   FT_Load_Glyph( FT_Face  face,
                  FT_UInt  glyph_index,
-                 FT_Int   load_flags );
+                 FT_Int32 load_flags );
 
 
   /*************************************************************************/
@@ -1955,7 +1955,7 @@
   FT_EXPORT( FT_Error )
   FT_Load_Char( FT_Face   face,
                 FT_ULong  char_code,
-                FT_Int    load_flags );
+                FT_Int32  load_flags );
 
 
   /*************************************************************************/
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -406,7 +406,7 @@
   FT_EXPORT_DEF( FT_Error )
   FT_Load_Glyph( FT_Face  face,
                  FT_UInt  glyph_index,
-                 FT_Int   load_flags )
+                 FT_Int32 load_flags )
   {
     FT_Error      error;
     FT_Driver     driver;
@@ -567,7 +567,7 @@
   FT_EXPORT_DEF( FT_Error )
   FT_Load_Char( FT_Face   face,
                 FT_ULong  char_code,
-                FT_Int    load_flags )
+                FT_Int32  load_flags )
   {
     FT_UInt  glyph_index;