Fix bustage of the previous commit

This commit is contained in:
Vivien Nicolas 2011-06-23 22:20:55 +02:00
parent 59e178946a
commit 873d6df1f5

View File

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