[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 20/20: [hdtbl] Report where the listed fonts come from.
From: |
G. Branden Robinson |
Subject: |
[groff] 20/20: [hdtbl] Report where the listed fonts come from. |
Date: |
Fri, 9 Nov 2018 18:39:42 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 9e4c49a2c4d8b80495e1564ca805d7bb72289a62
Author: G. Branden Robinson <address@hidden>
Date: Fri Nov 9 18:31:59 2018 -0500
[hdtbl] Report where the listed fonts come from.
* contrib/hdtbl/examples/fonts_n.in:
* contrib/hdtbl/examples/fonts_x.in:
Thanks to Bertrand we have a unit test for the hdtbl macros now.
Unfortunately the number of pages it expects to see generated
from the devps fonts is hard-coded. Add a bit of diagnostic
output to the build on the off chance a future problem we have
with hdtbl building comes not from breakage in it, but
alteration of the devps fonts.
Signed-off-by: G. Branden Robinson <address@hidden>
---
contrib/hdtbl/examples/fonts_n.in | 2 ++
contrib/hdtbl/examples/fonts_x.in | 2 ++
2 files changed, 4 insertions(+)
diff --git a/contrib/hdtbl/examples/fonts_n.in
b/contrib/hdtbl/examples/fonts_n.in
index 3045a9d..58f9acd 100644
--- a/contrib/hdtbl/examples/fonts_n.in
+++ b/contrib/hdtbl/examples/fonts_n.in
@@ -43,6 +43,8 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.if !d fontpath \
. ds fontpath @fontdir@
.
+.tm \*[fonts_n]: listing fonts in \*[fontpath]/dev\*[.T]
+.
.de fontdump
. ie \\n[.$] \
. ds *args \\$*
diff --git a/contrib/hdtbl/examples/fonts_x.in
b/contrib/hdtbl/examples/fonts_x.in
index 3c5ff1c..f036f81 100644
--- a/contrib/hdtbl/examples/fonts_x.in
+++ b/contrib/hdtbl/examples/fonts_x.in
@@ -43,6 +43,8 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.if !d fontpath \
. ds fontpath @fontdir@
.
+.tm \*[fonts_x]: listing fonts in \*[fontpath]/dev\*[.T]
+.
.de fontdump
. ie \\n[.$] \
. ds *args \\$*
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 20/20: [hdtbl] Report where the listed fonts come from.,
G. Branden Robinson <=