https://bugs.winehq.org/show_bug.cgi?id=43256
Bug ID: 43256 Summary: Civilization V in-game font corrupted Product: Wine Version: 2.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: olelukoie@mail.ru Distribution: ---
Created attachment 58574 --> https://bugs.winehq.org/attachment.cgi?id=58574 The «good» screenshot with proper font rendering
I had not played Windows version of Civ5 under WINE for some time but recently started it and discovered that the font in the game is completely broken and mostly unreadable (at least Russian font).
git bisect showed me that the corruption occurred back in 2014, was introduced in two steps by the following commits.
The first one (causes slight mostly unnoticed font breakage):
e9188970a78336358c7f160d78c5705ab230c974 is the first bad commit commit e9188970a78336358c7f160d78c5705ab230c974 Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Fri Jan 10 20:29:54 2014 +0900
gdi32: Fix sub-pixel shift calculations for vertical writing.
:040000 040000 1cf54dfea5297e2d8da3cc7fd584ac0253705791 da7d8759bed1313f48e668a7040fba21ba66778a M dlls
The second one (causes hard font breakage):
e06d2dbc6772bf4f038847f2c7825ecdefcf4b90 is the first bad commit commit e06d2dbc6772bf4f038847f2c7825ecdefcf4b90 Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Fri Jan 24 01:47:54 2014 +0900
gdi32: Fix regression due to sub-pixel shift calculations fixes.
:040000 040000 9fb50c914ef8feb1e6c3d4dd19604afe3497d337 9daba6ef96a68d36c1646c75bc8e03b6b63dbb81 M dlls
See the attached screenshots for demonstration. The first screenshot shows the proper font rendering in WINE 1.6. The second one shows slight corruption after the first commit (look at the bottom-left corner of Russian letter «д» in the bottom text «Нажмите, чтобы продолжить»: the vertical bottom stroke is missing). The third one is a picture of current font rendering caused by the second commit. All the right vertical strokes in all glyphs are completely missing.