mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage
This commit is contained in:
parent
9a36184dfa
commit
31f081ae17
7 changed files with 93 additions and 18 deletions
|
@ -249,7 +249,7 @@ function readFontIndexData(aStream, aIsByte) {
|
|||
}
|
||||
|
||||
var Type2Parser = function type2Parser(aFilePath) {
|
||||
var font = new Dict();
|
||||
var font = new Dict(null);
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', aFilePath, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue