[Bug 22109] New: BiuTicker: Text in list displayed too deep and clipped away
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Mar 21 11:10:45 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=22109
Summary: BiuTicker: Text in list displayed too deep and clipped
away
Product: Wine
Version: 1.1.39
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdi32
AssignedTo: wine-bugs at winehq.org
ReportedBy: wolfgang.schwotzer at gmx.net
Created an attachment (id=26951)
--> (http://bugs.winehq.org/attachment.cgi?id=26951)
BiuTicker list display (text drawn too deep)
When starting BiuTicker a list of stock chart properties is displayed.
In this list the text is displayed too deep. Only the top most scan line of
each character is visible, the rest is clipped away. See attachments.
My current error analysis:
Within DrawTextExW:
y-coordinates are negative
viewport coordinates are positive.
DT_NOCLIP is 0 (clipping active)
DT_SINGLELINE is 1
DT_VCENTER is 1 (Center text vertically)
According to these flags the y coordinate (of the bottom line) is calculated.
When calling ExtTextOutW the text alignment within the used DC is TA_TOP which
results in using the y coordinate as top line (instead of bottom line).
Forcing alignment to TA_BOTTOM before calling ExtTextOutW would display the
text right but has side effects on other DrawTextExW calls.
--
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