groff-commit
[Top][All Lists]
Advanced

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

[groff] 07/23: [docs]: Fix conflicting claim.


From: G. Branden Robinson
Subject: [groff] 07/23: [docs]: Fix conflicting claim.
Date: Thu, 23 Sep 2021 08:12:32 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit a62be9af8b33ef758817dd375f9355508385995b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Sep 23 09:20:36 2021 +1000

    [docs]: Fix conflicting claim.
    
    The `charset` subsection of a font description is not mandatory if the
    device description asserts the `unicode` directive.  This was documented
    in the description of `unicode` but not reflected in the discussion of
    the `charset` subsection of font description files.
---
 doc/groff.texi       |  5 +++--
 man/groff_font.5.man | 11 ++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index e03ee94..7f052dd 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -18127,8 +18127,9 @@ file.
 The first section can contain comments, which start with the @samp{#}
 character and extend to the end of a line.
 
-The second section contains one or two subsections.  It must contain a
-@code{charset} subsection and it may also contain a @code{kernpairs}
+The second section contains one or two subsections.  A @code{charset}
+subsection is mandatory unless the associated @file{DESC} file contains
+the @code{unicode} directive.  It may also contain a @code{kernpairs}
 subsection.  These subsections can appear in either order.  Each
 subsection starts with a directive on a line by itself.
 
diff --git a/man/groff_font.5.man b/man/groff_font.5.man
index d662b04..aa76a97 100644
--- a/man/groff_font.5.man
+++ b/man/groff_font.5.man
@@ -636,10 +636,15 @@ character and extend to the end of a line.
 .P
 The second section contains one or two subsections.
 .
-It must contain a
+A
 .B charset
-subsection
-and it may also contain a
+subsection is mandatory unless the associated
+.I DESC
+file contains the
+.B unicode
+directive.
+.
+It may also contain a
 .B kernpairs
 subsection.
 .



reply via email to

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