bug-groff
[Top][All Lists]
Advanced

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

[bug #56015] [PATCH] [grotty] should handle bullet character more intell


From: G. Branden Robinson
Subject: [bug #56015] [PATCH] [grotty] should handle bullet character more intelligently
Date: Thu, 8 Aug 2024 23:18:47 -0400 (EDT)

Update of bug #56015 (group groff):

                  Status:               Confirmed => In Progress            

    _______________________________________________________

Follow-up Comment #10:

I'mma just cut the Gordian Knot on this, go with Dave's suggestion from
comment #8, and see how many people scream.


diff --git a/tmac/tty.tmac b/tmac/tty.tmac
index 81962ca2f..5788bcfbc 100644
--- a/tmac/tty.tmac
+++ b/tmac/tty.tmac
@@ -8,15 +8,7 @@
 .
 .po 0
 .
-.if !'\*[.T]'utf8' \{\
-.  ie c\[pc] \
-.    tr \[bu]\[pc]
-.  el \
-.    if c\[md] \
-.      tr \[bu]\[md]
-.\}
-.
-.fchar \[bu] \z+o
+.fchar \[bu] *
 .fchar \[14] 1/4
 .fchar \[12] 1/2
 .fchar \[34] 3/4
$ printf '\\[bu] foo\n' | ./build/test-groff -T ascii | cat -s
* foo

$ printf '\\[bu] foo\n' | ./build/test-groff -T latin1 | iconv -f iso-8859-1 |
cat -s
* foo

$ printf '\\[bu] foo\n' | ./build/test-groff -T utf8 | cat -s
• foo





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
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]