Fix object id counter.
This commit is contained in:
parent
92e355dc35
commit
f8ed7bb31a
@ -154,8 +154,8 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||||||
font = xref.fetchIfRef(font) || fontRes.get(fontName);
|
font = xref.fetchIfRef(font) || fontRes.get(fontName);
|
||||||
assertWellFormed(isDict(font));
|
assertWellFormed(isDict(font));
|
||||||
|
|
||||||
|
++self.objIdCounter;
|
||||||
if (!font.loadedName) {
|
if (!font.loadedName) {
|
||||||
++self.objIdCounter;
|
|
||||||
font.translated = self.translateFont(font, xref, resources,
|
font.translated = self.translateFont(font, xref, resources,
|
||||||
dependency);
|
dependency);
|
||||||
if (font.translated) {
|
if (font.translated) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user