Commit 95ac657e1809615443fa5f7e62637c5d905bec83

Tom Kacvinsky 2000-10-15T08:53:27

Minor fix in Z1_Open_Face for building char_index table

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/type1z/z1load.c b/src/type1z/z1load.c
index a5fc91c..d14a166 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";