bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ellipse line thickness problem in grodvi


From: Zhao, Yu \(William\)
Subject: ellipse line thickness problem in grodvi
Date: Fri, 2 Feb 2007 11:35:16 +0800

Folks,
 
groff-1.19.2 can't set line thickness for ellipse.
 
e.g. these two ellipses is exactly same.
 
.PS
ellipse thick 5
down
ellipse
.PE
 
Following is the fix.
 
--- groff-1.19.2-old/src/devices/grodvi/dvi.cpp 2007-02-01 21:31:56.000000000 -0600
+++ groff-1.19.2/src/devices/grodvi/dvi.cpp     2007-02-01 21:17:21.000000000 -0600
@@ -752,6 +752,8 @@
     moveto(env->hpos+p[0]/2, env->vpos);
     if (fill_flag)
       fill_next(env);
+    else
+      set_line_thickness(env);
     sprintf(buf, "%s 0 0 %d %d 0 6.28319",
            (fill_flag ? "ia" : "ar"),
            milliinches(p[0]/2),
 
Regards,
William

reply via email to

[Prev in Thread] Current Thread [Next in Thread]