groff-commit
[Top][All Lists]
Advanced

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

[groff] 14/19: [afmtodit]: Fix Savannah #65716 (use PUA) (1/2).


From: G. Branden Robinson
Subject: [groff] 14/19: [afmtodit]: Fix Savannah #65716 (use PUA) (1/2).
Date: Sun, 22 Sep 2024 00:33:07 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit fc2f0abfbe67ed6a7b46c9c68db706b6e627cfae
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Sep 21 21:35:50 2024 -0500

    [afmtodit]: Fix Savannah #65716 (use PUA) (1/2).
    
    * src/utils/afmtodit/make-afmtodit-tables: Alter maintainer-mode script
      to stop excluding code points from the Private Use Area in the Unicode
      Basic Multilingual Plane from glyph mappings for Adobe fonts (and
      workalikes).  Doing so expands coverage to many more glyphs, including
      groff's "braceex".
    
    Fixes <https://savannah.gnu.org/bugs/?65716>.  Thanks to Deri James for
    the report.
    
    Also alter script comment to emphasize its function, not its name.
---
 ChangeLog                               | 11 +++++++++++
 src/utils/afmtodit/make-afmtodit-tables | 10 ++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f4dad2c0f..628391899 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2024-09-21  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/utils/afmtodit/make-afmtodit-tables: Alter maintainer-mode
+       script to stop excluding code points from the Private Use Area
+       in the Unicode Basic Multilingual Plane from glyph mappings for
+       Adobe fonts (and workalikes).  Doing so expands coverage to ~192
+       more glyphs, including groff's "braceex".
+
+       Fixes <https://savannah.gnu.org/bugs/?65716> (1/2).  Thanks to
+       Deri James for the report.
+
 2024-09-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/roff/troff/input.cpp (interpolate_macro): Fix code style
diff --git a/src/utils/afmtodit/make-afmtodit-tables 
b/src/utils/afmtodit/make-afmtodit-tables
index 54f50db8a..38ab83c7e 100755
--- a/src/utils/afmtodit/make-afmtodit-tables
+++ b/src/utils/afmtodit/make-afmtodit-tables
@@ -1,9 +1,8 @@
 #!/bin/sh
 #
-# make-afmtodit-tables -- script for creating the 'unicode_decomposed'
-#                         and 'AGL_to_unicode' tables
+# Create afmtodit(1)'s 'unicode_decomposed' and 'AGL_to_unicode' tables.
 #
-# Copyright (C) 2005-2020 Free Software Foundation, Inc.
+# Copyright (C) 2005-2024 Free Software Foundation, Inc.
 #      Written by Werner Lemberg <wl@gnu.org>
 #
 # This file is part of groff.
@@ -105,10 +104,13 @@ cat <<END
 END
 
 # Convert AGL syntax to a chunk of Perl.
+#
+# Formerly we omitted characters from the Private Use Area (PUA) in the
+# Basic Multilingual Plane (BMP).
+#      -e '/;\(E\|F[0-8]\)/d' \
 cat "$3" \
 | sed -e '/#/d' \
       -e 's/ /_/g' \
-      -e '/;\(E\|F[0-8]\)/d' \
       -e 's/\(.*\);\(.*\)/  "\1", "\2",/' > $$5
 
 # Perform groff replacements.



reply via email to

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