URL:
<https://savannah.gnu.org/bugs/?65601>
Summary: Bogus 'bogus composite' errors introduced by commit
6008b6b7aa
Group: GNU roff
Submitter: deri
Submitted: Tue 16 Apr 2024 11:21:28 AM UTC
Category: Core
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 16 Apr 2024 11:21:28 AM UTC By: Deri James <deri>
If preconv produces a valid composite character groff should not reject it. Of
course if the composite is not available in any available font it will elicit
the normal "not defined" error, but, if it is, this bug prevents it being
used. I have many examples including these using groff -man on some man
pages:-
troff:charsets.7:76: error: cannot format glyph: 'u0073_0326' is not a valid
composite character
troff:charsets.7:76: error: cannot format glyph: 'u0074_0326' is not a valid
composite character
troff:iso_8859-6.7:54: error: cannot format glyph: 'u0627_0653' is not a valid
composite character
troff:iso_8859-6.7:55: error: cannot format glyph: 'u0627_0654' is not a valid
composite character
troff:iso_8859-6.7:56: error: cannot format glyph: 'u0648_0654' is not a valid
composite character
troff:iso_8859-6.7:57: error: cannot format glyph: 'u0627_0655' is not a valid
composite character
troff:iso_8859-6.7:58: error: cannot format glyph: 'u064A_0654' is not a valid
composite character
troff:iso_8859-6.7:54: error: cannot format glyph: 'u0627_0653' is not a valid
composite character
troff:iso_8859-6.7:55: error: cannot format glyph: 'u0627_0654' is not a valid
composite character
troff:iso_8859-6.7:56: error: cannot format glyph: 'u0648_0654' is not a valid
composite character
troff:iso_8859-6.7:57: error: cannot format glyph: 'u0627_0655' is not a valid
composite character
troff:iso_8859-6.7:58: error: cannot format glyph: 'u064A_0654' is not a valid
composite character
troff:iso_8859-16.7:56: error: cannot format glyph: 'u0053_0326' is not a
valid composite character
troff:iso_8859-16.7:72: error: cannot format glyph: 'u0073_0326' is not a
valid composite character
troff:iso_8859-16.7:108: error: cannot format glyph: 'u0054_0326' is not a
valid composite character
troff:iso_8859-16.7:140: error: cannot format glyph: 'u0074_0326' is not a
valid composite character
troff:iso_8859-16.7:56: error: cannot format glyph: 'u0053_0326' is not a
valid composite character
troff:iso_8859-16.7:72: error: cannot format glyph: 'u0073_0326' is not a
valid composite character
troff:iso_8859-16.7:108: error: cannot format glyph: 'u0054_0326' is not a
valid composite character
troff:iso_8859-16.7:140: error: cannot format glyph: 'u0074_0326' is not a
valid composite character
Even nroff -T utf8 can't reproduce the man page properly!
xzcat /usr/share/man/man7/iso_8859-6.7.xz |preconv|nroff -Tutf8 -man -t -z
Personally I see little value in this error, the existing error reporting of a
special character not defined is more helpful since if you find a font which
contains the correct glyph, the error will be gone. I'm sure there are users
capable of creating a font with all sorts of weird composite glyphs, why
should we police what they can do?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65601>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/