Hi, some time ago, we already improved the terminal renderings of many characters, in particular mathematical ones. Having another look at groff_char(7) and how it renders with groff versus mandoc, i just fixed some issues in mandoc, but for the following cases, i think it would be better to tweak groff:
Any OKs or objections? Rationale: * For isolated accents, we typically print an ASCII character that comes close, even if it is not exactly the right size or shape or in the right vertical position. Let's do that for \[a.], too: at least ASCII output does not normally provide \[pc]. * The playing card symbols are maybe not top priority, but mandoc has them and its obvious enough what to print, so why not. * The rendering of Pound Sterling seems really bad to me. Nowadays, seeing a capital L, people will hardly think of the French word "Livre" and then understand "Pound Sterling". We don't render the Euro sign as \z=C either... (I think \z=Y for Yen is OK, Y is at least the right letter.) So let's do the same for GBP as for EUR. * We already have an approximation for the dotless i, so why not do the same for the j. OK? Ingo diff --git a/tmac/tty-char.tmac b/tmac/tty-char.tmac index f1932838..0e0bf8a8 100644 --- a/tmac/tty-char.tmac +++ b/tmac/tty-char.tmac @@ -108,7 +108,8 @@ .tty-char \[dA] \z=v .if c\[md] .tty-char \[pc] \[md] .if c\[pc] .tty-char \[md] \[pc] -.if c\[pc] .tty-char \[a.] \[pc] +.ie c\[pc] .tty-char \[a.] \[pc] +.el .tty-char \[a.] . .tty-char \[Im] <Im> .tty-char \[Re] <Re> .tty-char \[/L] \z/L @@ -149,9 +150,13 @@ .tty-char \[rk] } .tty-char \[lt] ,- .tty-char \[rt] -. +.tty-char \[CL] <club> +.tty-char \[SP] <spade> +.tty-char \[HE] <heart> +.tty-char \[DI] <diamond> .\" Latin characters .tty-char \[r!] ! -.tty-char \[Po] \z-L +.tty-char \[Po] GBP .tty-char \[Cs] \zox .tty-char \[Ye] \z=Y .tty-char \[bb] | diff --git a/tmac/tty.tmac b/tmac/tty.tmac index 17a71279..471fb8bc 100644 --- a/tmac/tty.tmac +++ b/tmac/tty.tmac @@ -65,6 +65,7 @@ .fchar \[eu] EUR .fchar \[Eu] EUR .fchar \[.i] i +.fchar \[.j] j .fchar \[bq] , . .if '\*[.T]'utf8' \