1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Fix tiling pattern with smask.

After drawing a tiling pattern we were not calling
endDrawing, which handles compositing any
active smasks.

Fixes #8565.
This commit is contained in:
Brendan Dahl 2021-05-12 11:41:36 -07:00
parent ba99e54c66
commit 53991d0924
4 changed files with 202 additions and 0 deletions

View file

@ -538,6 +538,8 @@ const TilingPattern = (function TilingPatternClosure() {
graphics.executeOperatorList(operatorList);
graphics.endDrawing();
return {
canvas: tmpCanvas.canvas,
scaleX: dimx.scale,