https://bugs.winehq.org/show_bug.cgi?id=42563
--- Comment #11 from Rafał Mużyło galtgendo@o2.pl --- (In reply to Zebediah Figura from comment #10)
This patch distinctly bothers me. The width of the window should probably be dynamically altered to accomodate different font widths (and DPI?), but using ExtTextOut() should be unnecessary if the font returned is indeed monospace.
I've never said this patch was a correct solution, just a semi-working one, under my limited understanding of winapi (so, those extra spaces at the end, instead of a horizontal scrollbar). Yet, as for the later part: - IIRC, the idea of using ExtTextOut was one I've picked from wine source - under fontconfig, only the program can guarantee the font picked is actually *printed* monospace, the font itself is a system/user preference