[Bug 52925] New: usp10:usp10 The wgDefault check fails on Windows in non-basic locales (Hebrew, Japanese, etc)
WineHQ Bugzilla
wine-bugs at winehq.org
Thu Apr 28 12:47:12 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52925
Bug ID: 52925
Summary: usp10:usp10 The wgDefault check fails on Windows in
non-basic locales (Hebrew, Japanese, etc)
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: usp10
Assignee: wine-bugs at winehq.org
Reporter: fgouget at codeweavers.com
usp10:usp10's wgDefault check in test_ScriptGetFontProperties() fails on some
bitmap fonts in a number of locales:
* Arabic
usp10.c:2591: Test failed: bitmap font System wgDefault 0126, tmDefaultChar
0085
usp10.c:2591: Test failed: bitmap font Fixedsys wgDefault 0126, tmDefaultChar
0085
usp10.c:2591: Test failed: bitmap font MS Serif wgDefault 0126, tmDefaultChar
0085
usp10.c:2591: Test failed: bitmap font MS Sans Serif wgDefault 0126,
tmDefaultChar 0085
* Hebrew
usp10.c:2591: Test failed: bitmap font Small Fonts wgDefault 01ac,
tmDefaultChar 0080
* Hindi + UTF-8 (no failure for plain Hindi)
usp10.c:2591: Test failed: bitmap font System wgDefault 00fd, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font Fixedsys wgDefault 00fd, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font Courier wgDefault 00fd, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font MS Serif wgDefault 00fd, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font MS Sans Serif wgDefault 00fd,
tmDefaultChar 0081
usp10.c:2591: Test failed: bitmap font Small Fonts wgDefault 00fd,
tmDefaultChar 0080
* Japanese
usp10.c:2591: Test failed: bitmap font FixedSys wgDefault 00f0, tmDefaultChar
00a0
usp10.c:2591: Test failed: bitmap font @FixedSys wgDefault 00f0, tmDefaultChar
00a0
* Chinese
usp10.c:2591: Test failed: bitmap font System wgDefault 00ac, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font @System wgDefault 00ac, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font Terminal wgDefault 00ac, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font @Terminal wgDefault 00ac, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font Fixedsys wgDefault 00ac, tmDefaultChar
0080
usp10.c:2591: Test failed: bitmap font @Fixedsys wgDefault 00ac, tmDefaultChar
0080
https://test.winehq.org/data/patterns.html#usp10:usp10
In each case we get the expected value on Windows with a number of fonts but
there are some exceptions that cause the failures. For a given locale the
exceptions all have the same wgDefault value which means there is probably some
logic to it.
So we either need to come up with a better way to find the expected wgDefault
value, or to radically loosen the test, or to restrict the test to some 'safe'
fonts, or to remove the test entirely.
--
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