bug-groff
[Top][All Lists]
Advanced

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

[bug #64155] specifying -fZD on command line generates warnings


From: G. Branden Robinson
Subject: [bug #64155] specifying -fZD on command line generates warnings
Date: Sat, 6 May 2023 13:16:42 -0400 (EDT)

Follow-up Comment #3, bug #64155 (project groff):

This is kind of a case of "don't do that, then".  ("Doctor, it hurts when I do
this!")


    -f fam
        Set default font family.


However, Zapf Dingbats is a specific face, not a family.  And not a member of
a family.

No matter what happens, you'll get diagnostics, but we probably could improve
the diagnostics you get.

Remember this old chestnut?


    troff: EXPERIMENTS/font-errors.groff:23: warning: can't find font
'BOGUSR'


This is pretty close to the actual problem.  If "ZD" is the family, then the
formatter expects to find fonts named "ZDR", "ZDI", "ZDB", and "ZDBI".

Possibly a search for the requisite styles could be undertaken upon use of the
`-f` flag or `fam` request, errors thrown for any that are missing, and the
option or request ignored.

The numeric overflow is interesting.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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