shithub: freetype+ttf2subf

Download patch

ref: 02b8e7e8d751605b133568b86fbb5dff48b6b5a5
parent: 0d4aa23e7cd92dcede111160f7b4b308d6ead648
author: Werner Lemberg <[email protected]>
date: Tue Nov 25 06:31:51 EST 2014

*/*: s/Invalid_Argument/Invalid_Size_Handle/ where appropriate.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-11-25  Werner Lemberg  <[email protected]>
 
+	*/*: s/Invalid_Argument/Invalid_Size_Handle/ where appropriate.
+
+2014-11-25  Werner Lemberg  <[email protected]>
+
 	*/*: s/Invalid_Argument/Invalid_Stream_Handle/ where appropriate.
 
 2014-11-25  Werner Lemberg  <[email protected]>
--- a/src/autofit/afloader.c
+++ b/src/autofit/afloader.c
@@ -508,7 +508,7 @@
 
 
     if ( !size )
-      return FT_THROW( Invalid_Argument );
+      return FT_THROW( Invalid_Size_Handle );
 
     FT_ZERO( &scaler );
 
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -3751,7 +3751,7 @@
 
 
     if ( !size )
-      return FT_THROW( Invalid_Argument );
+      return FT_THROW( Invalid_Size_Handle );
 
     face = size->face;
     if ( !face || !face->driver )