gbranden pushed a commit to branch master
in repository groff.
commit b6a3e00e0e57539c161f921a8dd598e28971e8f4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Aug 30 06:43:34 2025 -0500
[libgroff]: Stop mapping `\[ru]` to U+005F.
* src/libs/libgroff/glyphuni.cpp: Stop mapping the special character
`ru` (baseline rule) to U+005F. The Unicode "LOW LINE" is a not a
baseline rule (while my DEC VT525's character set disagrees, the fonts
on my GNU/Linux box do not). `ru` and `bs` (the Bell System logo) are
the only special characters groff internally defines that have no
Unicode representation. GNU troff offers the `char` request, enabling
a document to define `\[ru]` as equivalent to `_` if it wishes.
---
ChangeLog | 11 +++++++++++
src/libs/libgroff/glyphuni.cpp | 1 -
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3ba465121..0464fae8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2025-08-30 G. Branden Robinson <[email protected]>
+
+ * src/libs/libgroff/glyphuni.cpp: Stop mapping the special
+ character `ru` (baseline rule) to U+005F. The Unicode "LOW
+ LINE" is a not a baseline rule (while my DEC VT525's character
+ set disagrees, the fonts on my GNU/Linux box do not). `ru` and
+ `bs` (the Bell System logo) are the only special characters
+ groff internally defines that have no Unicode representation.
+ GNU troff offers the `char` request, enabling a document to
+ define `\[ru]` as equivalent to `_` if it wishes.
+
2025-08-30 G. Branden Robinson <[email protected]>
* src/roff/troff/node.cpp (real_output_file::off): Work around
diff --git a/src/libs/libgroff/glyphuni.cpp b/src/libs/libgroff/glyphuni.cpp
index 9b3e54c3d..2de37f50c 100644
--- a/src/libs/libgroff/glyphuni.cpp
+++ b/src/libs/libgroff/glyphuni.cpp
@@ -116,7 +116,6 @@ struct S {
{ "^", "005E" },
{ "ha", "005E" },
{ "_", "005F" },
- { "ru", "005F" },
{ "ul", "005F" },
{ "ga", "0060" },
{ "a", "0061" },
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit