[Bug 37615] New: wineconsole: user backend won't detect font -> white boxes

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 22 18:10:28 CST 2014


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 at winehq.org
          Reporter: david at 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.



More information about the wine-bugs mailing list