]> git.parisson.com Git - pdf.js.git/commitdiff
Fix bustage of the previous commit
authorVivien Nicolas <21@vingtetun.org>
Thu, 23 Jun 2011 20:20:55 +0000 (22:20 +0200)
committerVivien Nicolas <21@vingtetun.org>
Thu, 23 Jun 2011 20:20:55 +0000 (22:20 +0200)
fonts.js

index f783c459cc54f5562485bfd567c330af2cb02f3f..2c63adfd45a8f5732ccb2577b3b418eb0cc10418 100644 (file)
--- a/fonts.js
+++ b/fonts.js
@@ -517,7 +517,7 @@ var Font = (function () {
         // 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
@@ -643,7 +643,7 @@ var Font = (function () {
       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