gbranden pushed a commit to branch branden-2022-06-01
in repository groff.
commit 03d4238e9e343910e6f7f30dd514e742cc9fea23
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Apr 28 06:16:10 2023 -0500
[tbl]: Fix Savannah #64122.
* src/preproc/tbl/table.cpp (table::init_output): Specify scaling unit
when using `hym` and `hys` requests. Continues commit cee547e883, 30
January 2021.
Thanks to Frederic Chartier and Peter Schaffter for the report.
---
ChangeLog | 10 ++++++++++
src/preproc/tbl/table.cpp | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 60a35a322..94776fea9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-04-28 G. Branden Robinson <[email protected]>
+
+ [tbl]: Fix Savannah #64122.
+
+ * src/preproc/tbl/table.cpp (table::init_output): Specify
+ scaling unit when using `hym` and `hys` requests. Continues
+ commit cee547e883, 30 January 2021.
+
+ Thanks to Frederic Chartier and Peter Schaffter for the report.
+
2023-04-28 G. Branden Robinson <[email protected]>
[tbl]: Regression-test Savannah #64122.
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 0dae4a4eb..9e9a371dc 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -1815,8 +1815,8 @@ void table::init_output()
". hy \\\\n[" SAVED_HYPHENATION_MODE_REG "]\n"
". hla \\\\*[" SAVED_HYPHENATION_LANG_NAME "]\n"
". hlm \\\\n[" SAVED_HYPHENATION_MAX_LINES_REG "]\n"
- ". hym \\\\n[" SAVED_HYPHENATION_MARGIN_REG "]\n"
- ". hys \\\\n[" SAVED_HYPHENATION_SPACE_REG "]\n"
+ ". hym \\\\n[" SAVED_HYPHENATION_MARGIN_REG "]u\n"
+ ". hys \\\\n[" SAVED_HYPHENATION_SPACE_REG "]u\n"
". ad \\n[.j]\n"
". ie \\n[.u] .fi\n"
". el .nf\n"
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit