// Insert the missing table
tables.push({
tag: "OS/2",
- data: stringToArray(createOS2Table)
+ data: stringToArray(createOS2Table())
});
// Replace the old CMAP table with a shiny new one
createTableEntry(otf, offsets, "CFF ", CFF);
/** OS/2 */
- OS2 = createOS2Table();
+ OS2 = stringToArray(createOS2Table());
createTableEntry(otf, offsets, "OS/2", OS2);
//XXX Getting charstrings here seems wrong since this is another CFF glue