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

 
 

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

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sun 02 Jul 2017 09:59:46 PM UTC
   
 
Category:  Macro - others/general Severity:  2 - Minor
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Feb 2023 06:43:07 AM UTC, comment #4: 


commit 97af31602991f330eed7b4f31354d5c34a729336
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu Jul 23 07:17:52 2020 +1000

    tmac/tty.tmac: Permit nonexistent font warning.

    Prompted by a 2017 suggestion and patch from Bjarni Ingi Gislason.

    Documents and macro packages that want to change the font family should
    do so in awareness that this is meaningless on terminal (nroff) devices
    (and -Thtml as well).

    Fixes <https://savannah.gnu.org/bugs/?51364>.


G. Branden Robinson <gbranden>
Group administrator
Thu 23 Jul 2020 01:17:29 PM UTC, comment #3: 

Fixed in 97af31602991f330eed7b4f31354d5c34a729336.

G. Branden Robinson <gbranden>
Group administrator
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>
Group 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>
Group administrator
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)
  •  

    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 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.0
    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/general
        Severity3 - Normal 2 - Minor

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code