Minor fix in Z1_Open_Face for building char_index table
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";