bugThe FreeType Project - Bugs: bug #52097, Wine crashes when accessing...

 
 

bug #52097: Wine crashes when accessing 'charmap' due to changes in FreeType 2.8.1

Submitted by:  kinodont <kinodont>
Submitted on:  Sat 23 Sep 2017 08:41:31 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Sep 2017 09:09:45 AM UTC, comment #1:

The commit in question makes the implementation on par with the documentation.

Wine indeed relies on undocumented behaviour – FreeType had a special case for WinFNT, which I've removed for consistency.

The fix in wine should be a one-liner.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sat 23 Sep 2017 08:41:31 AM UTC, original submission:

The commit

https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=79e3789f81e14266578e71196ce71ecf5381d142
(src/winfonts/winfnt.c (FNT_Face_Init): Don't set active encoding)

made certain Wine applications crash.

I guess Wine was (in)correctly (?) relying on 'charmap' to be set.

I can't determine (and haven't tried to determine) if it is Wine using the API incorrectly, FreeType making an application breaking change, or a FreeType regression.

Original Wine bug report: https://bugs.winehq.org/show_bug.cgi?id=43715

kinodont <kinodont>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by kinodont (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Sep 2017 09:09:45 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1