From: Andreas Gal Date: Sun, 19 Jun 2011 22:58:30 +0000 (-0700) Subject: rename conver to convert X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bb40d20eae6ddf0e92dfe5b074545630547ecb61;p=pdf.js.git rename conver to convert --- diff --git a/fonts.js b/fonts.js index 1250bf5..5ee3cc8 100644 --- 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) {