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 - others Severity:  2 - Minor
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  G. Branden Robinson <gbranden>
Open/Closed:  Closed Planned Release:  1.23

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 23 Jul 2020 01:17:29 PM UTC, comment #3: 

Fixed in 97af31602991f330eed7b4f31354d5c34a729336.

G. Branden Robinson <gbranden>
Project AdministratorIn charge of this item.
Mon 20 Jul 2020 01:02:13 PM UTC, comment #2: 

comment #1:

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


Fully agree with this change.

No opinion on the other changes, though if they prevent this newly unmasked warning from appearing, I suppose they need to be made as well.

Dave <barx>
Project Member
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 AdministratorIn 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 Files:
   
   
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
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by bgarrigues (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-23 gbranden Item GroupNone => Incorrect behaviour
        StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 1.23
    2017-11-21 gbranden SummaryPatch: Allow a warning about a missing font => [PATCH] Stop suppressing warnings about missing fonts
    2017-11-21 gbranden Attached File- => Added 51364.diff, #42448
        StatusNone => In Progress
        Assigned toNone => gbranden
    2017-09-01 bgarrigues CategoryNone => Macro - others
        Severity3 - Normal => 2 - Minor

    Back to the top


    Powered by Savane 3.5