bug-groff
[Top][All Lists]
Advanced

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

[bug #64285] [troff] \D't' (set line thickness) drawing command alters d


From: G. Branden Robinson
Subject: [bug #64285] [troff] \D't' (set line thickness) drawing command alters drawing position
Date: Thu, 8 Jun 2023 22:18:53 -0400 (EDT)

Follow-up Comment #2, bug #64285 (project groff):

I'm thinking the pic part will look something like this.


diff --git a/src/preproc/pic/troff.cpp b/src/preproc/pic/troff.cpp
index 3dc87a721..00d244c84 100644
--- a/src/preproc/pic/troff.cpp
+++ b/src/preproc/pic/troff.cpp
@@ -475,7 +475,7 @@ void troff_output::line_thickness(double p)
   if (p < 0.0)
     p = RELATIVE_THICKNESS;
   if (driver_extension_flag && p != last_line_thickness) {
-    printf("\\D't %.3fp'\\h'%.3fp'\n.sp -1\n", p, -p);
+    printf("\\D't %.3fp'\n.sp -1\n", p);
     last_line_thickness = p;
   }
 }


Still testing, though.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64285>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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