]> git.parisson.com Git - pdf.js.git/commitdiff
rename conver to convert
authorAndreas Gal <andreas.gal@gmail.com>
Sun, 19 Jun 2011 22:58:30 +0000 (15:58 -0700)
committerAndreas Gal <andreas.gal@gmail.com>
Sun, 19 Jun 2011 22:58:30 +0000 (15:58 -0700)
fonts.js

index 1250bf5589e8c69bede5747b8f85d8ee5913ff54..5ee3cc8f75c2a7658baaf70d19861dbd80bea810 100644 (file)
--- a/fonts.js
+++ b/fonts.js
@@ -101,7 +101,7 @@ var Font = (function () {
       this.mimetype = "font/otf";
 
       // Wrap the CFF data inside an OTF font file
-      this.font = this.cover(cff, aProperties);
+      this.font = this.convert(cff, aProperties);
       break;
 
     case "TrueType":
@@ -323,7 +323,7 @@ var Font = (function () {
                          idDeltas, idRangeOffsets, glyphsIdsArray);
     },
 
-    cover: function font_cover(aFont, aProperties) {
+    convert: function font_convert(aFont, aProperties) {
       var otf = new Uint8Array(kMaxFontFileSize);
 
       function createOpenTypeHeader(aFile, aOffsets, aNumTables) {