From f5e39e2002625d41781676c25b2ac35e8f12f90e Mon Sep 17 00:00:00 2001 From: Tom Kacvinsky Date: Sun, 15 Oct 2000 08:53:27 +0000 Subject: [PATCH] Minor fix in Z1_Open_Face for building char_index table --- src/type1z/z1load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type1z/z1load.c b/src/type1z/z1load.c index a5fc91cbe..d14a166c0 100644 --- a/src/type1z/z1load.c +++ b/src/type1z/z1load.c @@ -1553,7 +1553,7 @@ max_char = -32000; charcode = 0; - for ( ; charcode < loader.encoding_table.num_elems; charcode++ ) + for ( ; charcode < loader.encoding_table.max_elems; charcode++ ) { type1->encoding.char_index[charcode] = 0; type1->encoding.char_name [charcode] = (char *)".notdef";