Update of bug #67252 (group groff):

              Item Group: Warning/Suspicious behaviour => Rendering/Cosmetics

                 Summary: groff_char.7: warning about a too long line in a
table => groff_char.7: some tables too wide in ascii or latin1 output

    _______________________________________________________

Follow-up Comment #1:

In general, bug reports are less likely to be rejected if they give all the
info needed to reproduce them.  This report, for instance, fails to mention
the output encoding, which is significant because the reported warnings only
occur with latin1 output.  (In ascii output, there is one additional "table
wider" warning.)  The use of the "nroff" command obscures the output encoding,
because nroff chooses its encoding based on the user's environment, which is
not reported here.  Using the -T option to explicitly show what output
encoding you're using makes the problem clearer.

The command line in the report could be further refined to better highlight
the warnings being reported.  The -b option, for instance, provides
information only about the warnings that were redacted from the report, so
there's no need to include it.  And rather than manually removing numerous
warnings, one can simply have groff omit them.

$ groff -Tascii -mandoc -t -ww -z -Wchar build/man/groff_char.7
build/man/groff_char.7:574: warning: table wider than line length minus
indentation
build/man/groff_char.7:1752: warning: table wider than line length minus
indentation
build/man/groff_char.7:2082: warning: table wider than line length minus
indentation
$ groff -Tlatin1 -mandoc -t -ww -z -Wchar build/man/groff_char.7
build/man/groff_char.7:1752: warning: table wider than line length minus
indentation
build/man/groff_char.7:2082: warning: table wider than line length minus
indentation
$ groff -Tutf8 -mandoc -t -ww -z -Wchar build/man/groff_char.7
$ 

But ultimately, the warnings themselves aren't even the issue: they're merely
pointers to the real issue, which is that some tables render poorly in Latin-1
and ASCII output.  I've changed the Summary and Item Group to reflect this.

These too-wide tables are a consequence of some of the fallback definitions
for characters that don't exist in Latin-1 or ASCII taking up substantially
more horizontal space than the characters they're replacing, confounding the
assumptions baked into the tables about the widths of its elements.


    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to