URL: <https://savannah.gnu.org/bugs/?67827>
Summary: Additional space after rfc1345 escape sequences
Group: GNU roff
Submitter: afh
Submitted: Thu 18 Dec 2025 07:10:36 PM UTC
Category: Macro package - others/general
Severity: 3 - Normal
Item Group: Rendering/Cosmetics
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 18 Dec 2025 07:10:36 PM UTC By: Alexis <afh>
The following issue was originally
[https://mail.gnu.org/archive/html/groff/2025-12/msg00014.html reported to the
groff mailing list] and this bug report then submitted as
[https://mail.gnu.org/archive/html/groff/2025-12/msg00058.html suggested in
one of the replies]:
When using escape sequences from contrib/rfc1345/rfc1345.tmac, additional
spaces appear after the character(s) which seems unintentional.
Given the following minimal working example:
echo '\(Fo\(mc\(Fc vs. \(Fo\[My]\(Fc' | groff -mrfc1345 -Tutf8 | head -1
«µ» vs. «µ »
I'd rather expect the following than the above:
«µ» vs. «µ»
Please find attached a patch, which was created by running:
sed -i -Ee 's@( +)\\"@\\"\1@' contrib/rfc1345/rfc1345.tmac
----
P.S.
The issue and mwe were prepared and tested on macOS Tahoe 26.1 using groff
1.23.0 as well as groff built from the latest changeset; at time
2542eb3f2ef12be6696e0e305937f82f87549df5 from Fri Dec 5 07:02:13 2025 -0600.
Additionally the following environment variables were set:
GROFF_ENCODING=utf-8
GROFF_TYPESETTER=pdf
_______________________________________________________
File Attachments:
Name: rfc1345-fix-space.patch Size: 190KiB
<https://file.savannah.gnu.org/file/rfc1345-fix-space.patch?file_id=57981>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-a7ba5c45d6a575f8aa486208476de1878950f160.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67827>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
