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


			
			
				david-pic-changes
			
			
		
Werner Lemberg 18 years ago
parent 88ab638e0f
commit 33db39e292
  1. 10
      ChangeLog
  2. 7
      src/psaux/t1decode.c
  3. 3
      src/sfnt/sfobjs.c

@ -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,

@ -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;
}

@ -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 */

Loading…
Cancel
Save