ref: 98258619df65e5ba1db3e91cb00ac416ad9774b1
parent: 075cdf12888d239ac2a476bc4f35e517a798659b
author: David Turner <[email protected]>
date: Wed Jun 28 16:43:07 EDT 2000
debugged the CFF driver. The "advance width" problem was strictly unrelated to our previous worries, it was a really simple bug in t2gload.c !!
--- 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
--- 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;
}