Merge pull request #16128 from Snuffleupagus/issue-16127

Support (rare) Type3 fonts with Pattern resources (issue 16127)
This commit is contained in:
Jonas Jenwald 2023-03-08 12:21:53 +01:00 committed by GitHub
commit 6839f15a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 2 deletions

View file

@ -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) {