bug-groff
[Top][All Lists]
Advanced

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

[bug #64484] [troff] \X escape sequence should read its argument in (som


From: G. Branden Robinson
Subject: [bug #64484] [troff] \X escape sequence should read its argument in (something like) copy mode
Date: Mon, 26 Aug 2024 23:58:19 -0400 (EDT)

Follow-up Comment #18, bug #64484 (group groff):

Stop the presses.  Sure enough, as soon as I pulled the trigger on that reply
I realized one reason why there was a difference in output from your
_printf_s.

Try these:


$ printf  ".ft U-TR\n\X'ps: αβγabc'\nαβγabc"|./build/test-groff -Tpdf
-Kutf8 -Z >| deri-64484-escape.grout2
$ printf  ".ft U-TR\n.device ps: αβγabc\nαβγabc"|./build/test-groff
-Tpdf -Kutf8 -Z >| deri-64484-request.grout2
$ cksum deri-64484-escape.grout*
3560394002 244 deri-64484-escape.grout
3560394002 244 deri-64484-escape.grout2
$ cksum deri-64484-request.grout*
1169764700 237 deri-64484-request.grout
1169764700 237 deri-64484-request.grout2


There was a `\c` missing after your `\X` escape sequence.  A newline at the
end of a text line puts a word space on the output--a word space that the
`device` request exhibit didn't have.

There still a difference, but it's less.


$ diff -u deri-64484-{escape,request}.grout2
--- deri-64484-escape.grout2    2024-08-26 22:50:56.020617246 -0500
+++ deri-64484-request.grout2   2024-08-26 22:51:00.588597219 -0500
@@ -5,15 +5,14 @@
 V12000
 H72000
 x X ps: \[u03B1]\[u03B2]\[u03B3]abc
-V12000
-H72000
-DFd
-wx font 11 S
+x font 11 S
 f11
 s10000
 x Slant 16
-h2500
+V12000
+H72000
 md
+DFd
 C*a
 h6310
 C*b


I'm not sure how material this is.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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