bugGNU roff - Bugs: bug #55799, -a output does not heed .char...

 
 

bug #55799: -a output does not heed .char definitions

Submitter:  Dave <barx>
Submitted:  Thu 28 Feb 2019 10:31:55 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Jun 2023 03:43:05 PM UTC, comment #1: 

Heirloom troff has also implemented the .char request (recognized when using -x2 or higher), and its -a output works as expected.

$ printf ".char a z\nplan\n" | heirloom-troff -a -x2
plzn

$ printf ".char a z\nplan\n" | groff -a
<beginning of page>
plan


Dave <barx>
Group Member
Thu 28 Feb 2019 10:31:55 PM UTC, original submission:  

When the .char request is used in groff 1.22.4, correct output is produced for PostScript or TTY:

printf ".char a z\nplan\n" | nroff | grep pl.n
printf ".char a z\nplan\n" | groff | grep pl.n

But incorrect output is produced for ASCII approximation via -a:

printf ".char a z\nplan\n" | groff -a | grep pl.n

Dave <barx>
Group Member

 

(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 barx (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-f8d8.
    Corresponding source code