Address pull request feedback.
This commit is contained in:
parent
8f57135513
commit
b24bec27ca
4
pdf.js
4
pdf.js
@ -4858,7 +4858,7 @@ var PartialEvaluator = (function partialEvaluator() {
|
|||||||
};
|
};
|
||||||
properties.glyphs = this.extractEncoding(dict, xref, properties);
|
properties.glyphs = this.extractEncoding(dict, xref, properties);
|
||||||
|
|
||||||
if (type.name == 'Type3') {
|
if (type.name === 'Type3') {
|
||||||
properties.coded = true;
|
properties.coded = true;
|
||||||
var charProcs = xref.fetchIfRef(dict.get('CharProcs'));
|
var charProcs = xref.fetchIfRef(dict.get('CharProcs'));
|
||||||
var fontResources = xref.fetchIfRef(dict.get('Resources')) || resources;
|
var fontResources = xref.fetchIfRef(dict.get('Resources')) || resources;
|
||||||
@ -5421,7 +5421,7 @@ var CanvasGraphics = (function canvasGraphics() {
|
|||||||
lly,
|
lly,
|
||||||
urx,
|
urx,
|
||||||
ury) {
|
ury) {
|
||||||
// TODO? According the spec we're also suppose to ignore any operators
|
// TODO According to the spec we're also suppose to ignore any operators
|
||||||
// that set color or include images while processing this type3 font.
|
// that set color or include images while processing this type3 font.
|
||||||
this.rectangle(llx, lly, urx - llx, ury - lly);
|
this.rectangle(llx, lly, urx - llx, ury - lly);
|
||||||
this.clip();
|
this.clip();
|
||||||
|
@ -181,6 +181,6 @@
|
|||||||
"file": "pdfs/simpletype3font.pdf",
|
"file": "pdfs/simpletype3font.pdf",
|
||||||
"link": false,
|
"link": false,
|
||||||
"rounds": 1,
|
"rounds": 1,
|
||||||
"type": "load"
|
"type": "eq"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user