output format 12 as enc 10 to match how Roboto did it

This commit is contained in:
Rod Sheeter 2018-02-12 16:25:32 -08:00
parent 89ee20f1a3
commit d1a4d5616f
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ struct cmap
EncodingRecord &rec = cmap->encodingRecord[0]; EncodingRecord &rec = cmap->encodingRecord[0];
rec.platformID.set (3); // Windows rec.platformID.set (3); // Windows
rec.encodingID.set (1); // Unicode BMP rec.encodingID.set (10); // Unicode UCS-4
/* capture offset to subtable */ /* capture offset to subtable */
CmapSubtable &subtable = rec.subtable.serialize(&context, cmap); CmapSubtable &subtable = rec.subtable.serialize(&context, cmap);