Summary: | Hidden PDF path visible | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | Macintosh | ||
OS: | MacOS X | ||
Customer: | 330 | Word Size: | --- |
Attachments: |
i9pv.pdf - simplified sample file
patch |
Description
Marcos H. Woehrmann
2009-04-09 11:12:34 UTC
Created attachment 4912 [details]
fiets_ned.pdf
Created attachment 4913 [details]
screenshot.png
The bug was introduced in rev. 8770. r8770 | leonardo | 2008-05-22 14:06:22 -0400 (Thu, 22 May 2008) | 25 lines Enhancement (graphics) : Delay applying type 1 raster patterns until clist interpretation (continued 4). The old code assumes that a pattern always fits into the clist writer buffer. However ppmraw -r400 176-01.ps violates this assumption. This patch implements a subdivision of a pattern into slices, each of which is smaller than the buffer size. 1. The new function cmd_get_buffer_space retrives maximal available space in the clist writer buffer (gxclutil.c). 2. cmd_put_drawing_color now implements a cycle for slicing big patterns. Each slice writes to clist as a separate clist instruction (gxclpath.c). 3. gx_dc_pattern_write_raster drops the constraint that the pattern fits into a single buffer (gsptype1.c). 4. The clist interpreter is enhanced with composing a pattern from slices Created attachment 4920 [details]
i9pv.pdf - simplified sample file
[/Separation/None ...] is visible in the clip list rendering.
Created attachment 4926 [details]
patch
Write color to the clip list even when it has no variable data, as
in [/Separation/None ...]. Fix a bug introduce by rev. 8770.
The patch is committed as a rev. 9634. There are progressions in Testform.v1.0.2.pdf and z400454b01d4-1.pdf . The difference in 09-34.ps on page 6 is also progression. |