shithub: freetype+ttf2subf

Download patch

ref: 6453a819e89b8c3378b037f92b6801d0ec32c5c3
parent: cce3c80c1f32b5ce6db3956ec9f5bc1a281b75d5
author: David Turner <[email protected]>
date: Wed Jan 8 04:28:34 EST 2003

* src/base/ftobjs.c (find_unicode_charmap): fixed the error code
        returned when the font doesn't contain a Unicode charmap. This
        allows FT2 to load "symbol.ttf" and a few others correctly since
        the last release

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-01-08  David Turner  <[email protected]>
 
+        * src/base/ftobjs.c (find_unicode_charmap): fixed the error code
+        returned when the font doesn't contain a Unicode charmap. This
+        allows FT2 to load "symbol.ttf" and a few others correctly since
+        the last release
+
         * Jamrules, Jamfile, Jamfile.in, src/*/Jamfile: small changes to
         support the compilation of FreeType 2 as part of larger projects with
         their own configuration options (only with Jam)
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -791,7 +791,7 @@
     }
 
     /* Chou blanc! */
-    return FT_Err_Invalid_Argument;
+    return FT_Err_Invalid_CharMap_Handle;
   }