bugGNU roff - Bugs: bug #63936, [tbl] rounding when using specific...

 
 

bug #63936: [tbl] rounding when using specific column widths can make text hug vertical rules in nroff mode

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Thu 16 Mar 2023 09:55:29 PM UTC
   
 
Category:  Preprocessor tbl Severity:  3 - Normal
Item Group:  Rendering/Cosmetics Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 16 Mar 2023 09:55:29 PM UTC, original submission:  

Affects groff 1.22.4.

Observe the inconsistency in horizontal space after the central vertical rule when the first column's width is changed from 2.5i to 2.75i.


$ cat ATTIC/specbox2.roff
.nf
1234567890123456789012345678901234567890123456789012345678901234567890
.TS
tab(@) allbox;
Cw(2.5i) Cw(2.5i)
L L.
Make@Model
Gibson@Les Paul
Fender@Stratocaster
.TE
.sp
.TS
tab(@) allbox;
Cw(2.75i) Cw(2.5i)
L L.
Make@Model
Gibson@Les Paul
Fender@Stratocaster
.TE
.pl \n(nlu


Output:


$ ./build/test-groff -t -Tascii ATTIC/specbox2.roff
1234567890123456789012345678901234567890123456789012345678901234567890
+---------------------------+---------------------------+
|           Make            |           Model           |
+---------------------------+---------------------------+
| Gibson                    | Les Paul                  |
+---------------------------+---------------------------+
| Fender                    | Stratocaster              |
+---------------------------+---------------------------+

+------------------------------+--------------------------+
|            Make              |          Model           |
+------------------------------+--------------------------+
| Gibson                       |Les Paul                  |
+------------------------------+--------------------------+
| Fender                       |Stratocaster              |
+------------------------------+--------------------------+


G. Branden Robinson <gbranden>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code