Summary: | setdash does not accept more than 11 elements in the array argument | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ken Sharp <ken.sharp> |
Component: | PS Interpreter | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | doit |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | Word Size: | --- |
Description
Ken Sharp
2013-04-16 14:40:43 UTC
Passing to Ken. My mistake, assigning back to Robin. I thought that all that was needed was to remove the PostScript code which throws a limitcheck on arrays > 11 elements but in fact the clist writer and pdfwrite have a fixed float array (of size 11) which they use to store the current dash pattern. These need to be altered to dynamic arrays (or something even more cunning). Note that there appears to be no documented limit on the size of a dash array now, and I believe that GS no longer limits arrays to 64k entries...... When the C code is altered, it will also be necessary to edit gs_init.ps and remove the line in the definition of /setdash: 1 .argindex length 11 gt { /setdash .systemvar /limitcheck signalerror } if *** Bug 694310 has been marked as a duplicate of this bug. *** Commit 94c5ecffe4bf66cc91108d99a802c7c2d3b86e0b fixes this for me. |