From a8308a93c562c3a422018c634afebd937dba000b Mon Sep 17 00:00:00 2001 From: Henry Stiles Date: Fri, 12 Feb 1999 03:17:55 +0000 Subject: Improvement of fill line anchoring in gl/2. Now use gl/2's position in user space instead of tracking device space position, which resulted in rounding errors when tranforming and doing comparisons. Label code updated to use gl/2 line drawing instead of using gs functions directly. Also we now draw the current path when the for relative/absolution mode changes in the pen. Updates Anomalies.txt to reflect changes. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@693 06663e23-700e-0410-b217-a244a6096597 --- pcl/pglfill.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pcl/pglfill.c') diff --git a/pcl/pglfill.c b/pcl/pglfill.c index ba0cf1264..8c5e94604 100644 --- a/pcl/pglfill.c +++ b/pcl/pglfill.c @@ -290,6 +290,9 @@ hpgl_LT( hpgl_real_t length_or_percent = 4.0; /* units are mm or percentage */ int mode = 0; + /* set the offset this is not part of the command but is + used internally (see pgstate.h) */ + pgls->g.line.current.pattern_offset = 0.0; /* NB this is luny unreadable logic */ if ( (type < -8) || (type > 8) || -- cgit v1.2.3