bugGNU roff - Bugs: bug #65601, Bogus 'bogus composite' errors...

 
 

bug #65601: Bogus 'bogus composite' errors introduced by commit 6008b6b7aa

Submitter:  Deri James <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:  gbranden
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 22 Apr 2024 03:14:18 PM UTC, comment #1: 

Assigning to Branden as the expert on this, since it seems to be his new code causing the issue.  See bug #65109

Deri James <deri>
Group Member
Tue 16 Apr 2024 11:21:28 AM UTC, original submission:  

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?

Deri James <deri>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by deri (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-04-22 deri Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code