summaryrefslogtreecommitdiff
path: root/pcl/pgvector.c
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1999-09-30 20:36:02 +0000
committerHenry Stiles <henry.stiles@artifex.com>1999-09-30 20:36:02 +0000
commit1ec1c24efd52c70b909d92cfc249c5fa08044d85 (patch)
tree146578b62f029eb4423bdffbcd6c1a8e83d2ae7f /pcl/pgvector.c
parente5e895e6f8f8b85a3eeb27cef1641a0362a41db2 (diff)
Allowing unnecessary "pen ups" in polygon mode when placing beziers in
the polygon buffer. Fixes missing graphics in lotus 1-2-3 generated files: ls40c1d3.bin and ls40d1d3.bin. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@979 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pgvector.c')
-rw-r--r--pcl/pgvector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pgvector.c b/pcl/pgvector.c
index 4f0704363..052441b6e 100644
--- a/pcl/pgvector.c
+++ b/pcl/pgvector.c
@@ -101,7 +101,7 @@ hpgl_bezier(hpgl_args_t *pargs, hpgl_state_t *pgls, bool relative)
/* We must clear the current path since we cannot properly
join lines to curves with the current line drawing
machinery */
- if ( pargs->phase == 0 ) {
+ if ( ( pargs->phase == 0 ) && ( !pgls->g.polygon_mode ) ) {
hpgl_call(hpgl_clear_current_path(pgls));
pargs->phase = 1;
}