diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1999-11-29 01:37:23 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1999-11-29 01:37:23 +0000 |
commit | fa1326f1b1dc35cd551294d1f8a19d493f24b61a (patch) | |
tree | b4c8efcba5df13a8425bf358b9eebf1ca1ba36c5 /pxl | |
parent | 45b40e276c40ba6fff3746adc9dddafb4d3a126c (diff) |
We now clamp coordinates to prevent limitchecks in paths. This more
closely approximates the HP which does not report these errors.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1030 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pxl')
-rw-r--r-- | pxl/pxgstate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pxl/pxgstate.c b/pxl/pxgstate.c index b4bb86303..ddadaf974 100644 --- a/pxl/pxgstate.c +++ b/pxl/pxgstate.c @@ -299,6 +299,9 @@ px_initgraphics(px_state_t *pxs) /* and of using bevel joins for the segments of flattened curves. */ gs_setdotlength(pgs, 72.0 / 300, true); } + /* we always clamp coordinates hp does not seem to report + limit checks in paths */ + gs_setlimitclamp(pgs, true); return 0; } |