[Bug 37615] New: wineconsole: user backend won't detect font -> white boxes
https://bugs.winehq.org/show_bug.cgi?id=37615 Bug ID: 37615 Summary: wineconsole: user backend won't detect font -> white boxes Product: Wine Version: 1.7.31 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: david(a)ixit.cz Distribution: --- Created attachment 50064 --> https://bugs.winehq.org/attachment.cgi?id=50064 wineconsole.log Wine compiled without ncurses. When wineconsole is started, it shows white boxes instead of font. Log with WINEDEBUG=+wineconsole attached. This code is from 2002: programs/wineconsole/user.c : line 442 /* FIXME: * the current freetype engine (at least 2.0.x with x <= 8) and its implementation * in Wine don't return adequate values for fixed fonts * In Windows, those fonts are expected to return the same value for * - the average width * - the largest width * - the width of all characters in the font * This isn't true in Wine. As a temporary workaround, we get as the width of the * cell, the width of the first character in the font, after checking that all * characters in the font have the same width (I hear paranoia coming) * when this gets fixed, the code should be using tm.tmAveCharWidth * or tm.tmMaxCharWidth as the cell width. */ I tried comment font checking, then output is better, but font isn't fixed-width (still smaller issue than white boxes instead of font). In Ubuntu 12.04 is freetype 2.4.8, so IMHO we can rely on 2.4 series + ncurses is default, so we can go ahead and fix it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37615 David Heidelberg (okias) <david(a)ixit.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david(a)ixit.cz Distribution|--- |Gentoo -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37615 --- Comment #1 from David Heidelberg (okias) <david(a)ixit.cz> --- So I investigated more and it's not so bad. It's not directly related to FIXME code (which could be fixed, but it doesn't matter). It start go trough list of fonts and on first place it hits Ahem font from Droid font suite. Trick is, this font is exactly (at least as I see in preview) made from white blocks. So this brings me to idea, could there be some default preferred font? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=37615 --- Comment #2 from Janne <janne.kekkonen(a)gmail.com> --- Created attachment 77702 --> https://bugs.winehq.org/attachment.cgi?id=77702 wineconsole Tested with Wine 9.0 In my test there were no white boxes on console. Text was shown normally. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla