diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2021-09-16 14:32:04 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2021-09-16 14:32:42 +0100 |
commit | 3dc164493a8872dbe6604e263a2ceaff6fa66366 (patch) | |
tree | 582c690cb29851e85fd57b6340f64e53cdf444b0 /doc | |
parent | 53b2bd8fb68c2a0665f60d593acd395550a17ed6 (diff) | |
download | ghostpdl-3dc164493a8872dbe6604e263a2ceaff6fa66366.tar.gz |
pdfwrite - Error out on degenerate pattern matrix
Bug #704395 "Ghostscript - Bad pattern produced with Nup
and pdfwrite"
There's more explanation in the bug report, and I don't want to
recapitulate it here. Basically if we instantiate a Pattern and the
saved CTM (which is a combination of the matrix argument to makepattern
and the CTM at the time makepattern was executed) is degnerate then we
now return an error.
Previously we would write out a degenerate matrix to the final PDF or
PostScript file which would then fail. It seems better to error before
producing the output.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions