shithub: freetype+ttf2subf

Download patch

ref: ce92c5fabee80e88f73b5081ffeaa12a391b9030
parent: d0014f2ccbe70ffabae3851dc7c1a1f8fd538b62
author: Werner Lemberg <[email protected]>
date: Sat Sep 15 06:56:15 EDT 2012

* src/autofit/afmodule.c: s/FT_Err_/AF_Err_/.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-09-15  Werner Lemberg  <[email protected]>
 
+	* src/autofit/afmodule.c: s/FT_Err_/AF_Err_/.
+
+2012-09-15  Werner Lemberg  <[email protected]>
+
 	[autofit] Make default script a global property.
 
 	* src/autofit/afmodule.h (AF_ModuleRec): Add `default_script' field.
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -53,7 +53,7 @@
 
     FT_TRACE0(( "af_property_get: missing property `%s'\n",
                 property_name ));
-    return FT_Err_Missing_Property;
+    return AF_Err_Missing_Property;
   }
 
 
@@ -62,7 +62,7 @@
                    const char*  property_name,
                    void*        value )
   {
-    FT_Error  error          = FT_Err_Ok;
+    FT_Error  error          = AF_Err_Ok;
     FT_UInt   default_script = ((AF_Module)module)->default_script;
 
 
@@ -73,7 +73,7 @@
 
 
       if ( !prop->face )
-        return FT_Err_Invalid_Argument;
+        return AF_Err_Invalid_Argument;
 
       globals = (AF_FaceGlobals)prop->face->autohint.data;
       if ( !globals )
@@ -98,7 +98,7 @@
 
     FT_TRACE0(( "af_property_get: missing property `%s'\n",
                 property_name ));
-    return FT_Err_Missing_Property;
+    return AF_Err_Missing_Property;
   }