groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 04/05: contrib/sboxes/msboxes.ms: Fix non-body font.


From: G. Branden Robinson
Subject: [groff] 04/05: contrib/sboxes/msboxes.ms: Fix non-body font.
Date: Tue, 20 Apr 2021 15:32:32 -0400 (EDT)

gbranden pushed a commit to branch dev-gropdf-boxes
in repository groff.

commit 1c74ce20666bc6ac026db72cf0fc519ba13b0c3b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Apr 21 04:53:40 2021 +1000

    contrib/sboxes/msboxes.ms: Fix non-body font.
    
    Take advantage of fix to Savannah #60422.  Set FAM string earlier, but
    at last possible opportunity such that it will affect headers, footers,
    and footnote text.  The document now uses Helevetica consistently except
    where switched to Courier for code examples.
---
 BRANCH-TODO               | 2 --
 contrib/sboxes/msboxes.ms | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/BRANCH-TODO b/BRANCH-TODO
index 98eeced..e6ca956 100644
--- a/BRANCH-TODO
+++ b/BRANCH-TODO
@@ -9,8 +9,6 @@ Resolve the following issues.
   - Use BI in title.
   - Recast language to time-proof it (avoid "recent").
   - Use correct \[aq] glyphs in code literals.
-  - The font is wrong outside the box once the document source is
-    presented (headers and footnotes are in Courier on pp. 3-4).
 * Get the BX=x chatter out of stderr.
 * Update gropdf(1) to document \X'pdf: background'.
 * Decide on a place in the existing ms name space definition for the new
diff --git a/contrib/sboxes/msboxes.ms b/contrib/sboxes/msboxes.ms
index e715c7e..84fcc5a 100644
--- a/contrib/sboxes/msboxes.ms
+++ b/contrib/sboxes/msboxes.ms
@@ -16,6 +16,7 @@
 .EF ''''
 .OH 'Using PDF boxes with the \f[I]ms\f[] macros''%'
 .OF ''''
+.ds FAM H
 .TL
 Using PDF boxes with the \f[I]ms\f[] macros
 .AU
@@ -23,7 +24,6 @@ Deri James
 .AI
 deri@chuzzlewit.myzen.co.uk
 .\" .AB no
-.ds FAM H
 .LP
 A recent extension to the Groff PDF driver allows coloured rectangles to be
 created beneath any output created by groff. The extension is a new "\eX'pdf:'"
@@ -161,6 +161,7 @@ The above was produced by the following code.
 \&.EF ''''
 \&.OH 'Using PDF boxes with the \ef[I]ms\ef[] macros''%'
 \&.OF ''''
+\&.ds FAM H
 \&.TL
 Using PDF boxes with the \ef[I]ms\ef[] macros
 \&.AU
@@ -168,7 +169,6 @@ Deri James
 \&.AI
 deri@chuzzlewit.myzen.co.uk
 \&.\" .AB no
-\&.ds FAM H
 \&.LP
 A recent extension to the Groff PDF driver allows coloured rectangles to be
 created beneath any output created by groff. The extension is a new "\eX'pdf:'"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]