bugThe FreeType Project - Bugs: bug #52098, Certain SFNT fonts can no longer...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #52098: Certain SFNT fonts can no longer be opened by FreeType 2.8.1

Submitter:  kinodont <kinodont>
Submitted:  Sat 23 Sep 2017 09:07:30 AM UTC
   
 
Severity:  3 - Normal Item Group:  Incorrect behaviour
Status:  Invalid Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  None

Sat 23 Sep 2017 12:10:03 PM UTC, comment #1: 

The font in question is invalid – it is a bitmap-only font (containing a 13ppem strike) that incorrectly sets the font's upem value to 13 also; I've added a quickly fixed font version to the original wine bug report.

Werner LEMBERG <wl>
Group administrator
Sat 23 Sep 2017 09:07:30 AM UTC, original submission:  

The commit

https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=ce367774d20072018d46bfe26f7c7b823dfad79c
(Minor adjustments for OpenType 1.8.2.)

broke Wine build during font conversion with sfnt2fon (only the changes in src/sfnt/sfobjs.c needed to be reverted).

sfnt2fon calls FT_New_Face on font courier.ttf (the font in question can be downloaded at: https://source.winehq.org/git/wine.git/blob_plain/bb16263fe1974851f495435fef9a3d57fa2d4aa9:/fonts/courier.ttf
)

FT_New_Face returns with error 0x8 (Invalid_Table).

face->header.Units_Per_EM had the value 13 when displayed in gdb.

The opinion of a Wine developer is that: "To stay compatible with Windows fonts the font size most likely cannot be changed."

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

kinodont <kinodont>

 

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

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 wl (Posted a comment)
  • -email is unavailable- added by kinodont (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-23 wl StatusNone Invalid
        Assigned toNone wl
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code