shithub: freetype+ttf2subf

Download patch

ref: 95ac657e1809615443fa5f7e62637c5d905bec83
parent: 6db35342dfd71b1b55017b26da185991ba3ba201
author: Tom Kacvinsky <[email protected]>
date: Sun Oct 15 04:53:27 EDT 2000

Minor fix in Z1_Open_Face for building char_index table

git/fs: mount .git/fs: mount/attach disallowed
--- 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";