bugGNU troff - Bugs: bug #51364, [PATCH] Stop suppressing warnings...

 
 

bug #51364: [PATCH] Stop suppressing warnings about missing fonts

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Sun 02 Jul 2017 09:59:46 PM UTC  
 
Category: Macro - othersSeverity: 2 - Minor
Item Group: NoneStatus: In Progress
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:16:21 AM UTC, comment #1:

I've attached a patch to clean up groff's own usage of the "CW" font in contexts outside of devdvi.

Comments?

man/groff_char.7.man: Migrate away from using CW font.

tmac/an-ext.tmac: Set font to roman in examples; we're already in the C
family.

tmac/groff_ms.7.man: Set first column of table in CR, not CW.

tmac/tty.tmac: Stop suppressing "can't find font" warnings.

diff --git a/man/groff_char.7.man b/man/groff_char.7.man

(file #42448)

G. Branden Robinson <gbranden>
Project MemberIn charge of this item.
Sun 02 Jul 2017 09:59:46 PM UTC, original submission:

From 9b9aeaaefeb29860381eeeff07d91cfde9510b39 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sun, 2 Jul 2017 21:46:34 +0000
Subject: [PATCH] Enable again a warning about a missing font for
TTY-devices

Warnings should never be eliminated by a programmer (project), as that is a
severe error, a cencorship and denying the programm to express a truth.

Addition of a line in the file "tmac/an-ext.tmac" should take care of
warnings of missing fonts (bug-groff #51362 (Add a synonym for the font
"CW")).

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
tmac/tty.tmac | 3 ---
1 file changed, 3 deletions(-)

diff --git a/tmac/tty.tmac b/tmac/tty.tmac
index d692a59e..938bacfb 100644
--- a/tmac/tty.tmac
+++ b/tmac/tty.tmac
@@ -8,9 +8,6 @@
.nroff
.ta T 0.8i
.
-.\" Don't warn about non-existent fonts.
-.warn \n[.warn]-(\n[.warn]/131072%2*131072)
-.
.po 0
.
.if !'\*[.T]'utf8' \{\
--
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:
   

Attached Files
file #42448:  51364.diff added by gbranden (9KiB - text/x-patch)

 

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:16:56 AM UTCgbrandenSummaryPatch: Allow a warning about a missing font=>[PATCH] Stop suppressing warnings about missing fonts
    Tue 21 Nov 2017 08:16:21 AM UTCgbrandenAttached File-=>Added 51364.diff, #42448
      StatusNone=>In Progress
      Assigned toNone=>gbranden
    Fri 01 Sep 2017 07:36:36 PM UTCbgarriguesCategoryNone=>Macro - others
      Severity3 - Normal=>2 - Minor

    Back to the top


    Powered by Savane 3.1-cleanup1