[Bug 30755] New: gdiplus tests fail if stix fonts present
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 23 00:58:22 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=30755
Bug #: 30755
Summary: gdiplus tests fail if stix fonts present
Product: Wine
Version: 1.5.4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
Classification: Unclassified
On Centos 6, "make test" causes (among others) the failures
runtest -q -P wine -M gdiplus.dll -T ../../.. -p gdiplus_test.exe.so
~/wine-git/dlls/gdiplus/tests/font.c && touch font.ok
...
font.c:396: Test failed: Expected 0, got 3
font.c:397: Test failed: got NULL font collection
make[1]: *** [font.ok] Error 2
/home/dank/wine-git/tools/runtest -q -P wine -M gdiplus.dll -T ../../.. -p
gdiplus_test.exe.so /home/dank/wine-git/dlls/gdiplus/tests/graphics.c && touch
graphics.ok
...
graphics.c:1978: Test failed: Expected 00000000, got 00000010
Unhandled exception: page fault on read access to 0x00000048 in 32-bit code
(0x6834d776).
Backtrace:
=>0 0x6834d776 get_log_fontW+0x16() in gdiplus (0x0032f8c8)
1 0x68358d57 get_font_hfont+0xf6() in gdiplus (0x0032f9f8)
2 0x6835d1cd GdipDrawString+0x26c() in gdiplus (0x0032fb78)
3 0x71cb8763 test_GdipDrawString+0x232() in gdiplus_test (0x0032fc38)
4 0x71cc5c45 func_graphics+0xb84() in gdiplus_test (0x0032fd18)
...
Looks like
GdipNewInstalledFontCollection() which calls
EnumFontFamiliesExW() which calls
add_font_proc() which calls
GdipCreateFontFamilyFromName()
and is failing because the latter function somehow chokes on the stix fonts
(http://stixfonts.org) bundled with centos 6.
Doing
sudo chmod 000 /usr/share/fonts/stix
works around the problem.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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