|
|
@ -3948,7 +3948,7 @@ var CFF = (function CFFClosure() { |
|
|
|
return CFF; |
|
|
|
return CFF; |
|
|
|
})(); |
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
var CFFHeader = (function CFFHeader() { |
|
|
|
var CFFHeader = (function CFFHeaderClosure() { |
|
|
|
function CFFHeader(major, minor, hdrSize, offSize) { |
|
|
|
function CFFHeader(major, minor, hdrSize, offSize) { |
|
|
|
this.major = major; |
|
|
|
this.major = major; |
|
|
|
this.minor = minor; |
|
|
|
this.minor = minor; |
|
|
@ -3958,7 +3958,7 @@ var CFFHeader = (function CFFHeader() { |
|
|
|
return CFFHeader; |
|
|
|
return CFFHeader; |
|
|
|
})(); |
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
var CFFStrings = (function CFFStrings() { |
|
|
|
var CFFStrings = (function CFFStringsClosure() { |
|
|
|
function CFFStrings() { |
|
|
|
function CFFStrings() { |
|
|
|
this.strings = []; |
|
|
|
this.strings = []; |
|
|
|
} |
|
|
|
} |
|
|
@ -3980,7 +3980,7 @@ var CFFStrings = (function CFFStrings() { |
|
|
|
return CFFStrings; |
|
|
|
return CFFStrings; |
|
|
|
})(); |
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
var CFFIndex = (function() { |
|
|
|
var CFFIndex = (function CFFIndexClosure() { |
|
|
|
function CFFIndex() { |
|
|
|
function CFFIndex() { |
|
|
|
this.objects = []; |
|
|
|
this.objects = []; |
|
|
|
this.length = 0; |
|
|
|
this.length = 0; |
|
|
@ -4039,16 +4039,6 @@ var CFFDict = (function CFFDictClosure() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
removeByName: function removeByName(name) { |
|
|
|
removeByName: function removeByName(name) { |
|
|
|
delete this.values[this.nameToKeyMap[name]]; |
|
|
|
delete this.values[this.nameToKeyMap[name]]; |
|
|
|
}, |
|
|
|
|
|
|
|
dump: function dump(title) { |
|
|
|
|
|
|
|
console.log('----' + title + ' Dictionary Dump------'); |
|
|
|
|
|
|
|
for (var key in this.values) { |
|
|
|
|
|
|
|
if (key in this.keyToNameMap) |
|
|
|
|
|
|
|
console.log(this.keyToNameMap[key] + '(' + key + '): ' + |
|
|
|
|
|
|
|
this.values[key]); |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
console.log('Unknown(' + key + '): ' + this.values[key]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
CFFDict.createTables = function createTables(layout) { |
|
|
|
CFFDict.createTables = function createTables(layout) { |
|
|
|