[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64130] [man] overrides troff's '-f' option
From: |
G. Branden Robinson |
Subject: |
[bug #64130] [man] overrides troff's '-f' option |
Date: |
Mon, 1 May 2023 07:49:33 -0400 (EDT) |
Follow-up Comment #1, bug #64130 (project groff):
This bug also unnecessarily frustrates people who simply want to use a
different font family to view the man page, like Palatino ('-fP') or Helvetica
('-fH).
Also those are easier for me to test, and postpone the day when I need to
sweat the issue of changing the default family in certain localization files
(ja.tmac, zh.tmac).
The fix is a one-liner.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index dff0297fe..1ac9550d5 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1294,7 +1294,7 @@ contains unsupported escape sequence
: \n[an*is-output-terminal]) \
. nr an*can-hyperlink 1
.
-.ds an*body-family T \" Times
+.ds an*body-family \n[.fam]
.ds an*example-family C \" Courier
.
.\" Map monospaced fonts to standard styles for groff's nroff devices.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64130>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/