[Bug 43716] New: freetype 2.8.1 breaks Wine build during font conversion with sfnt2fon

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 18 01:37:15 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43716

            Bug ID: 43716
           Summary: freetype 2.8.1 breaks Wine build during font
                    conversion with sfnt2fon
           Product: Wine
           Version: 2.17
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fonts
          Assignee: wine-bugs at winehq.org
          Reporter: kinodont at gmail.com
      Distribution: ---

Distribution: Arch Linux
freetype2 2.8.1-1
wine 2.17-1


The command
`../tools/sfnt2fon/sfnt2fon -o coue1255.fon ../../wine/fonts/courier.ttf -d 128
13,1255,8`
fails with: Error: Cannot open face ../../wine/fonts/courier.ttf

The file courier.ttf exists.
The error returned by FT_New_Face is 0x8 (Invalid_Table).

Reverting this freetype commit
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=ce367774d20072018d46bfe26f7c7b823dfad79c
fixes the issue. Only the changes in src/sfnt/sfobjs.c are relevant.
face->header.Units_Per_EM had the value 13 when displayed in gdb.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list