shithub: freetype+ttf2subf

Download patch

ref: 1d1c7eb8074bbeaf1994652a4b4558f131d04617
parent: 3188a3a112b7448f2cb7c48d7c3ecf13208d70e0
author: David Turner <[email protected]>
date: Sun Feb 13 08:35:21 EST 2000

small update in FT_Open_Args (more could follow though..)

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype.h
+++ b/include/freetype.h
@@ -1365,6 +1365,11 @@
   *
   *    stream       :: handle to a source stream object
   *
+  *    driver       :: this field is exclusively used by FT_Open_Face,
+  *                    it simply specifies the font driver to use to open
+  *                    the face. If set to 0, FreeType will try to load
+  *                    the face with each one of the drivers in its list.
+  *
   * <Note>
   *    Here's how a new input stream is built from a FT_Open_Args
   *    structure:
@@ -1385,13 +1390,10 @@
   {
     FT_Byte*     memory_base;
     FT_Long      memory_size;
-    
     FT_String*   pathname;
-    
     FT_Stream    stream;
-    
-    FT_Long      face_index;
-    
+    FT_Driver    driver;
+
   } FT_Open_Args;
 
   /*************************************************************************/