In Development
Last Updated: 12 Apr 2024 20:50 by ADMIN
Eugene
Created on: 09 Oct 2020 05:59
Category: PdfProcessing
Type: Feature Request
6
PdfProcessing: Handle documents containing invalidly located clipping path operators

According to the PDF specification:
A clipping path operator (W or W*) may appear after the last path construction operator and before the path-painting operator that terminates a path object.

Invalid:

W                          % clipping path operator
0 0 m                     % start of the path construction
596 0 l
596 842 l
0 842 l
h                            % end of the path construction
n                            % path-painting operator
Valid:
0 0 m
596 0 l
596 842 l
0 842 l
h
W
n

Currently (in the invalid cases), the path construction is skipped on import.

0 comments