* src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28.

Fonts without a cmap must be handled correctly by FreeType (anything
else would be a bug).


* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
[FT_DEBUG_LEVEL_TRACE]: Improve tracing message.
This commit is contained in:
Werner Lemberg 2007-06-08 06:30:29 +00:00
parent 88ab638e0f
commit 33db39e292
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,13 @@
2007-06-08 Werner Lemberg <wl@gnu.org>
* src/sfnt/sfobjs.c (sfnt_load_face): Undo change from 2007-04-28.
Fonts without a cmap must be handled correctly by FreeType (anything
else would be a bug).
* src/psaux/t1decode.c (t1_decoder_parse_charstrings)
[FT_DEBUG_LEVEL_TRACE]: Improve tracing message.
2007-06-07 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttsbit0.c (tt_sbit_decoder_init,

View File

@ -4,7 +4,7 @@
/* */
/* PostScript Type 1 decoding routines (body). */
/* */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006 by */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -951,8 +951,9 @@
default:
if ( top - decoder->stack != num_args )
FT_TRACE0(( "\nMore operands on the stack than expected "
"(have %d, expected %d)\n",
FT_TRACE0(( "t1_decoder_parse_charstrings: "
"too much operands on the stack "
"(seen %d, expected %d)\n",
top - decoder->stack, num_args ));
break;
}

View File

@ -575,10 +575,7 @@
/* the following tables are often not present in embedded TrueType */
/* fonts within PDF documents, so don't check for them. */
LOAD_( maxp );
LOAD_( cmap );
if ( error )
goto Exit;
/* the following tables are optional in PCL fonts -- */
/* don't check for errors */