rename conver to convert
This commit is contained in:
parent
d3923569de
commit
e46a88b1dc
4
fonts.js
4
fonts.js
@ -101,7 +101,7 @@ var Font = (function () {
|
|||||||
this.mimetype = "font/otf";
|
this.mimetype = "font/otf";
|
||||||
|
|
||||||
// Wrap the CFF data inside an OTF font file
|
// Wrap the CFF data inside an OTF font file
|
||||||
this.font = this.cover(cff, aProperties);
|
this.font = this.convert(cff, aProperties);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "TrueType":
|
case "TrueType":
|
||||||
@ -323,7 +323,7 @@ var Font = (function () {
|
|||||||
idDeltas, idRangeOffsets, glyphsIdsArray);
|
idDeltas, idRangeOffsets, glyphsIdsArray);
|
||||||
},
|
},
|
||||||
|
|
||||||
cover: function font_cover(aFont, aProperties) {
|
convert: function font_convert(aFont, aProperties) {
|
||||||
var otf = new Uint8Array(kMaxFontFileSize);
|
var otf = new Uint8Array(kMaxFontFileSize);
|
||||||
|
|
||||||
function createOpenTypeHeader(aFile, aOffsets, aNumTables) {
|
function createOpenTypeHeader(aFile, aOffsets, aNumTables) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user