Follow-up Comment #3, bug #67244 (group groff):

First of all, I made a systematic error when filing this ticket;
everywhere I said `mu` (the special character identifier), I should have
said `mc`.

_groff_char_(7):

     µ  \[mc] micro sign
     ×  \[mu] multiplication sign


At 2025-06-25T20:06:38-0400, Deri James wrote:
> Follow-up Comment #2, bug #67244 (group groff):
>
> It is a bit more than that, all greek SYMBOLS should only appear in
> symbol.map and not in text.map.

Agreed.

> Similarly preconv and afmtodit (with text.map) should be using unicode
> uXXXX names.

I wasn't aware that they weren't!

> The reason is because, as you have found with mu, which is present in
> the default text font (TR), if you are using a font family such as
> Tinos, which includes the full greek character set, eqn's use of \[*a]
> will appear as a non-italicised character.  The groff names for greek
> symbols should be restricted to only symbol fonts.

Agreed.

> When preconv finds greek UTF-8 characters it should output the unicode
> representation \[uXXXX], since we "know" the intention it should be
> rendered in a text font,

Agreed.

> similarly if an equation uses the keyword "alpha" the intention is to
> use the glyph from a symbol font.

Yes, there's a whole 'nother translation layer happening here.  I
suspect bug #64231 ("[eqn] use italic face for lowercase Greek letters
in nroff mode") is implicated, or should be.

> The greek glyphs in S and SS are definitely not suitable for greek
> typesetting textual content.

Agreed.

> Preconv already uses unicode naming for cyrillic characters,

I didn't recollect that...

> it should do the same for the greek character set.

...but I agree.

> I have attached a run of your example but calling it with:-
>
> test-groff -Tpdf -F /usr/share/groff/site-font/ -f TINO grk-gbr.trf | okular
> -
>
> You will see that all the characters are not italicised, not just mu.

Sounds like a fix to _afmtodit_ and/or the "text.map" file is in order.



    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to