diff --git a/fonts.js b/fonts.js index 1250bf558..5ee3cc8f7 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) {