http://bugs.winehq.org/show_bug.cgi?id=13801
--- Comment #5 from max@veneto.com 2008-06-21 04:22:16 --- (In reply to comment #4)
(In reply to comment #3)
Bug depends only on ExtTextOutW() function.
How have you found that ExtTextOutW is the culprit?
First, a trace on font, gdi and so; then, when found the place where text is output (just a single line text in autocad, then panning the screen), I made 2 tests... one with 3d wireframe mode, on which just the outline of font is displayed on autocad, and which shows NO ExtTextOutW calls, another one with 2d wireframe on which fonts are painted well and filled, on which the call IS used. I don't attach logs because I guess they're unuseful, but if you like I can do it.
In conclusion : panning/zooming in 2d wireframe mode IS slow and IS using ExtTextOutw(); panning/zooming in 3d wireframe mode IS FAST and doesn't use ExtTextOutW. I think (but not sure about...) that 3d wireframe does buffering on line segments composing the font and draws it directly on dc. It's far less accurate, and you can see the coarse painting of font.
BTW, on far zooms I think autocad optimizes out fonts, just drawing some small box instead of them; that's because my test drawing (see attached file...) behaves fast on very near zooms (few fonts to paint) and on very far zooms (fonts optimized out).
(Please don't change an originally reported version).
Why not ? I upgraded wine to git, and the behaviour is unchanged. It make sense, IMHO, to tell it...
Max