summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2014-03-07 13:41:01 +0000
committerKen Sharp <ken.sharp@artifex.com>2014-03-07 13:41:01 +0000
commit94c5ecffe4bf66cc91108d99a802c7c2d3b86e0b (patch)
tree3b1b97ee83d52a2b25c8c9c9938b43a5c66828cb /LICENSE
parent4b16c45c3b834efb9ff9608360d3c053e91b1f23 (diff)
downloadghostpdl-94c5ecffe4bf66cc91108d99a802c7c2d3b86e0b.tar.gz
PS interpreter, vector devices and pdfwrite - remove setdash limit of 11
Bug #693916 "setdash does not accept more than 11 elements in the array argument" The PostScript interpreter was already capable of this, it simply required the limit check to be removed. The vector device needed to allocate and free an array of floats, rather than maintain a fixed size array. pdfwrite was teh most complex as it maintains a stack of gstates, and these also needed to be modified to allocate and free the dash array. However the gstate stack wasn't already a garbage collecting structure. Rather than going to the effort of turning it into one I've opted to allocate the dash pattern from non-gc memory. A few PCL files show differences with pdfwrite, because previously pdfwrite would throw an error (more than 11 elements in the dash array) and the stroked lines would degenerate into filled rectangles, whereas now they are drawn as stroked lines with a correct dash pattern. This is much more efficient. The clist remains unmodified, Ray assures me that it will be handled there without problems.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions