[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/03: Migrate macro packages from font CW to CR.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/03: Migrate macro packages from font CW to CR. |
Date: |
Thu, 23 Jul 2020 09:15:44 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 62b4e58d9a7502dc4402eb9eb51ac694debe3914
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Jul 23 22:12:36 2020 +1000
Migrate macro packages from font CW to CR.
The font name "CW" ("constant-width") is a legacy item we can dispose
of (except for the DVI device, which also has CWI for "constant-width
italic"), and much of the groff codebase already did starting with
commit 0de1d6d79cdb959ffa7dac3af77c2a36ef31873f (October 2017). Courier
is available in the usual four styles (roman, bold, italic,
bold+italic).
* tmac/an-ext.tmac (.EX): Set font to R, not CW. The existing .ft
request was somewhat redundant with the '.do fam C' immediately
before, which set the font family to Courier.
* tmac/s.tmac (.UC): Use font CR, not CW.
---
ChangeLog | 15 +++++++++++++++
tmac/an-ext.tmac | 2 +-
tmac/s.tmac | 2 +-
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8bdbd38..54d3122 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,20 @@
2020-07-23 G. Branden Robinson <g.branden.robinson@gmail.com>
+ Migrate macro packages from font CW to CR. The font name "CW"
+ {"constant-width"} is a legacy item we can dispose of (except
+ for the DVI device, which also has CWI for "constant-width
+ italic"), and much of the groff codebase already did starting
+ with commit 0de1d6d79cdb959ffa7dac3af77c2a36ef31873f {October
+ 2017}. Courier is available in the usual four styles {roman,
+ bold, italic, bold+italic}.
+
+ * tmac/an-ext.tmac (.EX): Set font to R, not CW. The existing
+ .ft request was somewhat redundant with the '.do fam C'
+ immediately before, which set the font family to Courier.
+ * tmac/s.tmac (.UC): Use font CR, not CW.
+
+2020-07-23 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* tmac/tty.tmac: Stop suppressing nonexistent font warning.
Prompted by a 2017 suggestion and patch from Bjarni Ingi
Gislason. Documents and macro packages that want to change the
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index 49f086d..9155b05 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -190,7 +190,7 @@
. nf
. nh
. do fam C
-. ft CW
+. ft R
..
.
.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 180a9f8..00bc0bf 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1974,7 +1974,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
\\$*
..
.de UC
-.if r bell_localisms \f(CW\\$*\fP
+.if r bell_localisms \f(CR\\$*\fP
..
.de P2
.if r bell_localisms \{\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/03: Migrate macro packages from font CW to CR.,
G. Branden Robinson <=