From 98258619df65e5ba1db3e91cb00ac416ad9774b1 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 28 Jun 2000 20:43:07 +0000 Subject: [PATCH] debugged the CFF driver. The "advance width" problem was strictly unrelated to our previous worries, it was a really simple bug in t2gload.c !! --- CHANGES | 4 ++-- src/cff/t2gload.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 42e3a0abf..9bb65c372 100644 --- a/CHANGES +++ b/CHANGES @@ -1,7 +1,7 @@ LATEST CHANGES - - added support for CID-keyed fonts to the CFF driver. There are still - some unexplained bugs though... ??? + - added support for CID-keyed fonts to the CFF driver. + maybe support for pure CFF + CEF fonts should come in ?? - cleaned up source code in order to avoid two functions with the diff --git a/src/cff/t2gload.c b/src/cff/t2gload.c index 6d92bee8f..b4eb7d961 100644 --- a/src/cff/t2gload.c +++ b/src/cff/t2gload.c @@ -809,14 +809,14 @@ if ( req_args & T2_COUNT_CHECK_WIDTH ) { args = stack; - if ( decoder->read_width ) + if ( num_args & 1 && decoder->read_width ) { decoder->glyph_width = decoder->nominal_width + ( stack[0] >> 16 ); - decoder->read_width = 0; num_args--; args++; } + decoder->read_width = 0; req_args = 0; }