Skip to content

pdf: reset current operator when resetting clip

Adrian Johnson requested to merge ajohnson/cairo:issue-514 into master

PDF output uses q/Q operators to reset the clip path. This also resets the PDF graphics state including the current blend mode.

When resetting the clip path, reset the current blend mode tracked by the PDF surface so that if a non-default blend mode is required, the surface will emit the correct blend mode.

Fixes #514 (closed)

Merge request reports