bugGNU roff - Bugs: bug #66162, [grotty] a fallback character is...

 
 

bug #66162: [grotty] a fallback character is missing for 'OK' and 'u2717'

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Tue 03 Sep 2024 12:56:05 AM UTC
   
 
Category:  Macro package - others/general Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.24.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Oct 2024 07:03:46 PM UTC, comment #2: 


commit 5c41c317778ed9d7c049fb5668f0af03f6659b90
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Oct 14 13:26:31 2024 -0500

    Define fallbacks for `OK` and `u2717` spec chars.

    * man/groff_tmac.5.man:
    * src/devices/gropdf/gropdf.1.man: These man pages employ an unusual
      character, U+2717 "BALLOT X".  Define a fallback character for devices
      incapable of rendering that.

    * tmac/tty.tmac: Define fallback character for groff `OK` special
      character.

    Fixes <https://savannah.gnu.org/bugs/?66162>.  Thanks to Bjarni Ingi
    Gislason for the report.


(I committed this with the wrong ticket number.  Corrected above.)

G. Branden Robinson <gbranden>
Group administrator
Mon 14 Oct 2024 06:26:03 PM UTC, comment #1: 

For special characters with identifiers listed in groff_char(7), I agree that fallbacks should be defined if possible (the "ascii" device is ultra-limited), and that the output driver should take care of that (via a macro file is fine).

By using Unicode special character escape sequences, a man page author wanders off the beaten track and should be expected to define their own fallbacks.  So I'm updating the man pages in that case, which sort of splits this ticket between grotty, gropdf, and "General" (groff_tmac(5)), but I ain't gonna mess with making two copies of it.

G. Branden Robinson <gbranden>
Group administrator
Tue 03 Sep 2024 12:56:05 AM UTC, original submission:  

Subject: [tty.tmac] a fallback character is missing for 'OK' and 'u2717'

In directory "git/groff/devices/gropdf"

test-nroff -mandoc -t -ww -b -z gropdf.1.man

troff: backtrace: file 'gropdf.1.man':979
troff:gropdf.1.man:979: warning: special character 'OK' not defined
troff: backtrace: file 'gropdf.1.man':980
troff:gropdf.1.man:980: warning: special character 'u2717' not defined


Bjarni Ingi Gislason <bjarniig>

 

(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 (Posted a comment)
  • -email is unavailable- added by bjarniig (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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-16 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.24.0
    2024-10-14 gbranden StatusNone In Progress
        Assigned toNone gbranden
        Summary[tty.tmac] a fallback character is missing for 'OK' and 'u2717' [grotty] a fallback character is missing for 'OK' and 'u2717'

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code