groff-commit
[Top][All Lists]
Advanced

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

[groff] 84/115: [tbl]: Fix Savannah #64122.


From: G. Branden Robinson
Subject: [groff] 84/115: [tbl]: Fix Savannah #64122.
Date: Thu, 1 Jun 2023 10:46:14 -0400 (EDT)

gbranden pushed a commit to branch branden-2022-06-01
in repository groff.

commit 03d4238e9e343910e6f7f30dd514e742cc9fea23
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+       [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 <g.branden.robinson@gmail.com>
 
        [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"



reply via email to

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