[bug #68345] [troff] stop throwing font deprecation warnings on font names the user remaps to valid names

"G. Branden Robinson" <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Follow-up Comment #3, bug #68345 (group groff):

Hah.  The idea in comment #2 works.

"User" does the translation, all is good:


$ printf '.ftr C CR\n.ft C\n' | ./build/test-groff -T ps -z
troff:<standard input>:2: debug: GBR: translated_font_name = CR


User doesn't bother, we warn as we intend, but...


$ printf '.ft C\n' | ./build/test-groff -T ps -z
troff:<standard input>:1: debug: GBR: translated_font_name = C
troff:<standard input>:1: error: cannot open font description file 'C': No
such file or directory
troff:<standard input>:1: warning: font name 'C' is deprecated [-w font]
troff:<standard input>:1: warning: cannot select font 'C' [-w font]


Three diagnostics for one problem?   Ingo would burn me to a crisp.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagSXuQAKCRCqLAuaBUf3
TgEvAQD9RZC+U81zufxV1VK6WJOHhjpswK10xJc10yBs7Rm6/QD/XA+og4L1XKCn
GTKxRSmJ9hCEmLd0XIZQmHBloFN8aAw=
=1W1h
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.