URL:
  <https://savannah.gnu.org/bugs/?68077>

                 Summary: [gropdf] "Allow whitespace" change sometimes causes
output glyphs to not render
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Fri 20 Feb 2026 07:33:49 PM UTC
                Category: Driver gropdf
                Severity: 4 - Important
              Item Group: Incorrect behaviour
                  Status: Confirmed
                 Privacy: Public
             Assigned to: deri
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 20 Feb 2026 07:33:49 PM UTC By: G. Branden Robinson <gbranden>

99cac61462721c574b7af654604de2556660aada is the first bad commit
commit 99cac61462721c574b7af654604de2556660aada
Author: Deri James <[email protected]>
Date:   Mon Feb 9 19:09:27 2026 +0000

    Allow whitespace.
    
    * src/devices/gropdf/gropdf.pl: Allow whitespace after grout
    'w' command.
    
    Fixes <https://savannah.gnu.org/bugs/?64360>.
    
    Thanks to G. Branden Robinson for report and patch and Dave
    (for guidance).

 ChangeLog                    | 10 ++++++++++
 src/devices/gropdf/gropdf.pl |  7 ++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
$ git bisect reset
Previous HEAD position was 2fa3a2c3a [grodf]: Fix Savannah #68022.
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
$ git checkout 99cac61462721c574b7af654604de2556660aada^
...
$ make -C build -j
...
$ cat ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man
.TH foo 1 2026-02-20 "groff test suite"
.RB digit\~ 0 .
$ ./build/test-groff -man -Tpdf
ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man | pdftotext - -
foo(1)

General Commands Manual

foo(1)

digit 0.

groff test suite

2026-02-20

1


$ ./build/test-groff -Z -man -Tpdf
ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man 
x T pdf
x res 72000 1 1
x init
p1
x X ps:exec [/Dest /foo(1) /View [/FitH -26000 u] /DEST pdfmark
x X ps:exec [/Dest /foo(1) /Title (foo(1)) /Level 1 /OUT pdfmark
x font 39 TI
f39
s10000
md
DFd
V43000
H73970
tfoo
x font 5 TR
f5
h180
t(1)
h151030
tGeneral
wh2500
tCommands
wh2500
tManual
f39
h153000
tfoo
f5
h180
t(1)
n12000 0
x X pdf: markrestart
V91000
H72000
tdigit
wx font 37 TB
f37
h2500
t0
f5
t.
n12000 0
x X pdf: marksuspend
V756000
H72000
tgrof
H88410
tf
wh2500
ttest
wh2500
tsuite
h153150
t2026-02-20
h205670
t1
n12000 0
x trailer
V792000
x stop
$ ./build/test-groff -Z -man -Tpdf
ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man | cksum
3409727393 554
$ git checkout 99cac61462721c574b7af654604de2556660aada
M       gnulib
Previous HEAD position was 959c4f38d [doc,man]: Fix Savannah #67992.
HEAD is now at 99cac6146 Allow whitespace.
$ make -C build -j
...
$ ./build/test-groff -man -Tpdf
ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man | pdftotext - -
foo(1)

General Commands Manual

foo(1)

digit .

groff test suite

2026-02-20

1


$ ./build/test-groff -Z -man -Tpdf
ATTIC/gropdf-bad-w-handling-reduced-reproducer2.man | cksum
3409727393 554









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68077>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to