Commit 6453a819e89b8c3378b037f92b6801d0ec32c5c3

David Turner 2003-01-08T09:28:34

* 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

diff --git a/ChangeLog b/ChangeLog
index ef671cb..23363b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-01-08  David Turner  <david@freetype.org>
 
+        * 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)
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index dcf9816..130b809 100644
--- 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;
   }