https://bugs.winehq.org/show_bug.cgi?id=46285
Bug ID: 46285 Summary: Demo scene fr-041 debris: cut off and broken text Product: Wine Version: 4.0-rc1 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: gdi32 Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
Created attachment 62999 --> https://bugs.winehq.org/attachment.cgi?id=62999 broken text reappers in different screens
In fr-041 debris demo you can see broken text. Different parts of the demo have parts of text from different screens. I tried to link those screens by red link.
It is broken by wine-3.21-119-g11ab9ff7b3, but at the same time this commit probably fixes Bug 28960:
commit 11ab9ff7b3c43bb41c0325fe9417b1d7f44ad516 Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Wed Nov 28 00:50:20 2018 +0900
gdi32: Try Fontconfig substitutions when the font face is missing.
This improves font selection. With this patch, we can choose a decent font family by Fontconfig.
Otherwise, Wine chooses some fonts based on supported charset, e.g. Droid Sans Fallback. Droid Sans Fallback supports various scripts including Japanese. However, as it's a fallback font, it doesn't have Latin alphabet glyphs. If the font is chosen, typically Japanese Ubuntu environment, users see a lot of squares instead of Latin alphabets.
This patch asks Fontconfig for the best font for the current locale. If the font is returned and matches requested charset, the font is used. If failure, it fallbacks to existing procedure.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org