[ros-bugs] [Bug 2387] New: user32 doesn't draw text underscore correctly
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Thu Jul 12 09:52:10 CEST 2007
http://www.reactos.org/bugzilla/show_bug.cgi?id=2387
Summary: user32 doesn't draw text underscore correctly
Product: ReactOS
Version: unspecified
Platform: x86 Hardware
OS/Version: ReactOS
Status: NEW
Severity: normal
Priority: P3
Component: Win32
AssignedTo: ros-bugs at reactos.org
ReportedBy: spectertech at 163.com
QAContact: ros-bugs at reactos.org
the underscore is right next to the text with non pixel space, while it's not
correct.
we should have at least 1 pixel gap between underscore and our text.
patch:
Index: font.c
===================================================================
--- font.c (revision 27531)
+++ font.c (working copy)
@@ -1156,7 +1156,7 @@
rect, str, len_seg, NULL )) return 0;
if (prefix_offset != -1 && prefix_offset < len_seg)
{
- TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 1, str,
prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
+ TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 2, str,
prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
}
len -= len_seg;
str += len_seg;
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Ros-bugs
mailing list