From bd23b2d9c7c5bb836669433e56ce0b20f29aaec5 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 8 Jan 2003 09:28:34 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ src/base/ftobjs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef671cb42..23363b1e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2003-01-08 David Turner + * 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 dcf98163d..130b809d3 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; }