[Bug 33378] measuring/painting strings needs better tests

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 8 12:02:46 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33378

--- Comment #4 from Rafał Mużyło <galtgendo at o2.pl> 2013-06-08 12:02:46 CDT ---
(In reply to comment #2)
> I did a test on windows, and it appears we need to skip clipping if the
> ORIGINAL width and height are <= 0.

Well, out of curiosity, I've added a quite noisy TRACE to see if there's
anything special about those rectangles.

All of those rectangles (the originals, not just scaled versions) have Width =
Height = 0, according to debugstr_rectf (so they're simply empty).
Chances are it's DrawString(WCHAR*,INT,Font*,PointF&,Brush*), that's really
being called here, so Width/Height never really mattered.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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