Make Type 1 `seac' operator work with incremental interface.

* src/psaux/t1decode.c (t1operator_seac): Don't check `glyph_names'
if incremental interface is used.
This commit is contained in:
Ken Sharp 2010-01-05 09:43:01 +01:00 committed by Werner Lemberg
parent 3445e4f942
commit dbe5622335
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2010-01-05 Ken Sharp <ken.sharp@artifex.com>
Make Type 1 `seac' operator work with incremental interface.
* src/psaux/t1decode.c (t1operator_seac): Don't check `glyph_names'
if incremental interface is used.
2010-01-04 Ken Sharp <ken.sharp@artifex.com>
Make incremental interface work with TrueType fonts.
@ -7718,7 +7725,7 @@
----------------------------------------------------------------------------
Copyright 2006, 2007, 2008, 2009 by
Copyright 2006, 2007, 2008, 2009, 2010 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used, modified,

View File

@ -4,7 +4,8 @@
/* */
/* PostScript Type 1 decoding routines (body). */
/* */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by */
/* Copyright 2000-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 */
/* 2010 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -211,7 +212,8 @@
/* `glyph_names' is set to 0 for CID fonts which do not */
/* include an encoding. How can we deal with these? */
if ( decoder->glyph_names == 0 )
if ( decoder->glyph_names == 0 &&
!face->root.internal->incremental_interface )
{
FT_ERROR(( "t1operator_seac:"
" glyph names table not available in this font\n" ));