[uniscribe] Fix build

This commit is contained in:
Behdad Esfahbod 2018-09-11 01:39:23 +02:00
parent becd84aa2f
commit 96471fe859
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ _hb_rename_font (hb_blob_t *blob, wchar_t *new_name)
name.stringOffset.set (name.get_size ());
for (unsigned int i = 0; i < ARRAY_LENGTH (name_IDs); i++)
{
OT::NameRecord &record = name.nameRecord[i];
OT::NameRecord &record = name.nameRecordZ[i];
record.platformID.set (3);
record.encodingID.set (1);
record.languageID.set (0x0409u); /* English */