[Bug 33378] measuring/painting strings needs better tests

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 30 22:12:48 CDT 2013


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

--- Comment #3 from Rafał Mużyło <galtgendo at o2.pl> 2013-04-30 22:12:48 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.

Do you mean something like '&& (rect->Width > 0.5) && (rect->Height > 0.5)'
added to 'if (!(format_flags & StringFormatFlagsNoClip) && ...' condition ?

This indeed seems to work, though looks potentially fishy.

-- 
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