mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Merge pull request #16128 from Snuffleupagus/issue-16127
Support (rare) Type3 fonts with Pattern resources (issue 16127)
This commit is contained in:
commit
6839f15a32
5 changed files with 22 additions and 2 deletions
|
@ -2527,7 +2527,7 @@ class CanvasGraphics {
|
|||
if (this.cachedPatterns.has(objId)) {
|
||||
pattern = this.cachedPatterns.get(objId);
|
||||
} else {
|
||||
pattern = getShadingPattern(this.objs.get(objId));
|
||||
pattern = getShadingPattern(this.getObject(objId));
|
||||
this.cachedPatterns.set(objId, pattern);
|
||||
}
|
||||
if (matrix) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue