bugGNU troff - Bugs: bug #51362, [PATCH]: Add a synonym for the...

 
 

bug #51362: [PATCH]: Add a synonym for the font "CW"

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Sun 02 Jul 2017 09:03:37 PM UTC  
 
Category: Macro - manSeverity: 2 - Minor
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: G. Branden Robinson <gbranden>
Open/Closed: OpenPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 21 Nov 2017 08:20:19 AM UTC, comment #2:

Do we really want this? IMO it's not terribly portable for man pages to ask for fonts that they can't get via the man macros, and when people try, they get it wrong.

With the patch for 51364, maybe we should let the problem of suppressing the missing font warnings bubble up to man-db?

G. Branden Robinson <gbranden>
Project MemberIn charge of this item.
Thu 13 Jul 2017 10:36:27 PM UTC, comment #1:

Made an augmented patch, added font "C" to the previous out-of-date patch.

Bjarni Ingi Gislason <bjarniig>
Sun 02 Jul 2017 09:03:37 PM UTC, original submission:

From 0bf7a9e28c2033dc3d56fe020c05631e7ba63b6b Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sun, 2 Jul 2017 20:39:47 +0000
Subject: [PATCH] Add a synonym for the "CW" font for "tty" devices

Some man-pages want to use the name "CW" for a constant width font, but
that font is only available for the groff's device "dvi".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
tmac/an-ext.tmac | 1 +
1 file changed, 1 insertion(+)

diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index 740d73f4..ae9ac8d5 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -38,6 +38,7 @@
.\" Map mono-width fonts to standard fonts for groff's TTY device.
.if n \{\
. do ftr CR R
+. do ftr CW R
. do ftr CI I
. do ftr CB B
.\}
--
2.11.0

Bjarni Ingi Gislason <bjarniig>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gbranden (Updated the item)
  • -unavailable- added by bgarrigues (Updated the item)
  • -unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Nov 2017 08:20:38 AM UTCgbrandenSummary[Patch]: Add a synonym for the font "CW"=>[PATCH]: Add a synonym for the font "CW"
    Tue 21 Nov 2017 08:20:19 AM UTCgbrandenStatusIn Progress=>Need Info
    Tue 21 Nov 2017 08:10:24 AM UTCgbrandenStatusNone=>In Progress
      Assigned toNone=>gbranden
    Fri 01 Sep 2017 07:37:27 PM UTCbgarriguesCategoryNone=>Macro - man
      Severity3 - Normal=>2 - Minor

    Back to the top


    Powered by Savane 3.1-cleanup1