From 41371e1e39c8528eb0c4bc40683c736e6683e60c Mon Sep 17 00:00:00 2001 From: Eric Vannier Date: Thu, 22 Mar 2012 16:08:33 -0700 Subject: Update to freetype 2.4.9 This was done by applying the entire 2.4.9 except for the following exceptions: - files that were new, or were not present originally in the version of freetype we were using (meaning that they are present in 2.4.8, and in 2.4.9, but were never integrated into the Android tree because they are not used in the Android tree). - ftmodule.h: given that we support fewer modules than in upstream 2.4.9 (same as Android), the file was left unchanged (and there were no changes from the official 2.4.8 to 2.4.9 - ftoption.h: same reasons as ftmodule.h Change-Id: Id251f2cc5ca1c864f9a4cc0c67b94025ee3ccc4a --- src/cff/cffload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cff/cffload.c') diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 8bbf474..2be6ba0 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -1458,7 +1458,7 @@ font->header_size < 4 || font->absolute_offsize > 4 ) { - FT_TRACE2(( "[not a CFF font header]\n" )); + FT_TRACE2(( " not a CFF font header\n" )); error = CFF_Err_Unknown_File_Format; goto Exit; } @@ -1576,7 +1576,7 @@ if ( dict->charstrings_offset == 0 ) { FT_ERROR(( "cff_font_load: no charstrings offset\n" )); - error = CFF_Err_Unknown_File_Format; + error = CFF_Err_Invalid_File_Format; goto Exit; } -- cgit v1.2.3