[Bug 50] PrgWin95: Text justification needs beefing up

Wine Bugs wine-bugs at winehq.org
Sun May 29 18:28:40 CDT 2005


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





------- Additional Comments From keithdunwoody at yahoo.com  2005-29-05 18:28 -------
I believe this is because the code adds breakExtra to each space, so breakRem
pixels are not assigned to any space, and thus appear at the end of each line. 
The solution would be to recode such that breakRem is divided evenly between all
the spaces, so some spaces contain breakExtra space, and some contain breakExtra
+ 1 extra pixels.  Possibly the solution is to make breakExtra a float and
eliminate breakRem, and/or save the raw parameters passed into
SetTextJustification, and calculate the extra pixels for each space when the
text is actually displayed.

-- 
Configure bugmail: http://bugs.winehq.org/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