forked from minhngoc25a/freetype2
Minor fix in Z1_Open_Face for building char_index table
This commit is contained in:
parent
6db35342df
commit
95ac657e18
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue