[Bug 728] DrawText(DT_CALCRECT) returns width larger than an expected

Wine Bugs wine-bugs at winehq.com
Mon Jul 28 19:39:34 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=728





------- Additional Comments From fs at collect.org  2003-28-07 19:39 -------
1. I checked the font parameters, and Win32 says average char width is 5 yet 
wine/rh9 report average char width 7. AS far as I can tell the DrawText 
function calculates positions just fine except...

2. Zero length strings result in r.right = r.left under win32 but wine doesn't 
touch the passed rect. That screwed up a few calculation calls I had. 


-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list