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 21:24:37 -0400 (EDT)

Update of bug #64285 (project groff):

                  Status:               Confirmed => In Progress            
             Assigned to:                    None => gbranden               

    _______________________________________________________

Follow-up Comment #1:

This will require synchronized changes to grn and pic.  They both contrive
horizontal motions to offset the (stupid) drawing position update imposed by
\D't', so if that's not done, those preprocessors will produce incorrect
output.

I haven't found where pic does this yet (but I can tell from its output).

Here's where grn's code is.


src/preproc/grn/hgraph.cpp:400:  if (linethickness != thick[mode]) {
src/preproc/grn/hgraph.cpp:401:    linethickness = thick[mode];
src/preproc/grn/hgraph.cpp:402:    printf("\\h'-%.2fp'\\D't %.2fp'",
linethickness, linethickness);




    _______________________________________________________

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]