mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
rename conver to convert
This commit is contained in:
parent
d3923569de
commit
e46a88b1dc
1 changed files with 2 additions and 2 deletions
4
fonts.js
4
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue