mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 17:48:07 +02:00
Remove CFFCompiler.compileGlobalSubrIndex
since it's completely unused
This method was originally added in PR 1320, eleven years ago, however it doesn't appear to ever have been used (not even from the start). Furthermore, this method also tries to access a property that doesn't exist (`this.out`) and then call a method that also doesn't exist (`writeByteArray`).
This commit is contained in:
parent
ab2773416b
commit
0ce568e789
1 changed files with 0 additions and 5 deletions
|
@ -1742,11 +1742,6 @@ class CFFCompiler {
|
|||
return this.compileIndex(stringIndex);
|
||||
}
|
||||
|
||||
compileGlobalSubrIndex() {
|
||||
const globalSubrIndex = this.cff.globalSubrIndex;
|
||||
this.out.writeByteArray(this.compileIndex(globalSubrIndex));
|
||||
}
|
||||
|
||||
compileCharStrings(charStrings) {
|
||||
const charStringsIndex = new CFFIndex();
|
||||
for (let i = 0; i < charStrings.count; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue