From dbe5622335e5393660959109f11e29e44f64ecb0 Mon Sep 17 00:00:00 2001 From: Ken Sharp Date: Tue, 5 Jan 2010 09:43:01 +0100 Subject: [PATCH] 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. --- ChangeLog | 9 ++++++++- src/psaux/t1decode.c | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 843fbfe1b..198fd6404 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-01-05 Ken Sharp + + 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 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, diff --git a/src/psaux/t1decode.c b/src/psaux/t1decode.c index 7c6a7871a..29c3cae3a 100644 --- a/src/psaux/t1decode.c +++ b/src/psaux/t1decode.c @@ -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" ));