mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 20:28:02 +02:00
* src/sfnt/sfobjs.c (tt_face_get_name): fixing a bug that
caused FreeType to crash when certain broken fonts (like
"hya6gb.ttf") were opened.
This commit is contained in:
parent
26d737a8a5
commit
9e0ad41a8f
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@
|
|||
|
||||
|
||||
rec = face->name_table.names;
|
||||
for ( n = 0; n < face->name_table.numNameRecords; n++, rec++ )
|
||||
for ( n = 0; n < face->num_names; n++, rec++ )
|
||||
{
|
||||
/* According to the OpenType 1.3 specification, only Microsoft or */
|
||||
/* Apple platform IDs might be used in the `name' table. The */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue