gbranden pushed a commit to branch master
in repository groff.
commit 8f649d6e44f39538dbd28e2e091e9f966ec9cc80
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Apr 25 09:32:00 2026 -0500
[libgroff]: Annotate the groff glyph list (GGL).
---
src/libs/libgroff/glyphuni.cpp | 3 +++
src/libs/libgroff/uniglyph.cpp | 2 ++
2 files changed, 5 insertions(+)
diff --git a/src/libs/libgroff/glyphuni.cpp b/src/libs/libgroff/glyphuni.cpp
index ab0f8f006..925e51f62 100644
--- a/src/libs/libgroff/glyphuni.cpp
+++ b/src/libs/libgroff/glyphuni.cpp
@@ -48,6 +48,9 @@ PTABLE(glyph_to_unicode_map) glyph_to_unicode_table;
//
// TODO: Uncomment them, then?
+// This is the groff glyph list (GGL). See groff_char(7). Also see
+// "uniglyph.cpp". The GGL <-> Unicode relation is _not_ bijective.
+
struct S {
const char *key;
const char *value;
diff --git a/src/libs/libgroff/uniglyph.cpp b/src/libs/libgroff/uniglyph.cpp
index 76f4c3a20..deba73f64 100644
--- a/src/libs/libgroff/uniglyph.cpp
+++ b/src/libs/libgroff/uniglyph.cpp
@@ -38,6 +38,8 @@ implement_ptable(unicode_to_glyph)
PTABLE(unicode_to_glyph) unicode_to_glyph_table;
+// See "uniglyph.cpp". The GGL <-> Unicode relation is _not_ bijective.
+
struct S {
const char *key;
const char *value;
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit