groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Flush output on direction change


From: Deri James
Subject: [groff] 01/01: Flush output on direction change
Date: Thu, 10 Oct 2024 19:23:49 -0400 (EDT)

deri pushed a commit to branch master
in repository groff.

commit dd9c0f326a11edad2b456ab5853b4eaa3e8785f4
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Fri Oct 11 00:17:55 2024 +0100

    Flush output on direction change
    
    * src/devices/gropdf/gropdf.pl: When switching writing
    direction (\X'pdf: xrev') ensure any buffered output is
    flushed.
---
 ChangeLog                    | 6 ++++++
 src/devices/gropdf/gropdf.pl | 1 +
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 7129aba6e..8fdf61e74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-10-11  Deri James  <deri@chuzzlewit.myzen.co.uk>
+
+       * src/devices/gropdf/gropdf.pl: When switching writing
+       direction (\X'pdf: xrev') ensure any buffered output is
+       flushed.
+
 2024-10-06  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/preproc/tbl/table.cpp (table::add_entry): Refactor match
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 1102364b0..d83f8e17b 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1791,6 +1791,7 @@ sub do_x
            }
            elsif (lc($xprm[1]) eq 'xrev')
            {
+               PutLine(0);
                $xrev=!$xrev;
            }
            elsif (lc($xprm[1]) eq 'markstart')



reply via email to

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