forked from minhngoc25a/freetype2
Minor fix in Z1_Open_Face for building char_index table
This commit is contained in:
parent
c5930ddbb0
commit
f5e39e2002
|
@ -1553,7 +1553,7 @@
|
||||||
max_char = -32000;
|
max_char = -32000;
|
||||||
|
|
||||||
charcode = 0;
|
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_index[charcode] = 0;
|
||||||
type1->encoding.char_name [charcode] = (char *)".notdef";
|
type1->encoding.char_name [charcode] = (char *)".notdef";
|
||||||
|
|
Loading…
Reference in New Issue