Skip to content

Commit 6f651b6

Browse files
committed
[0.4.12][WIN32SS] Workaround Marlett drawing for Window close buttons CORE-16125
It regressed for RC by 0.4.12-RC-16-g e1ac9dc and for master by 0.4.13-dev-110-g 19fc941 Thanks to Katayama Hirofumi MZ, the workarounds author. We think it is a workaround, so we will not commit to master. Testbot runs (executed on master) seem to be non-alarming VBox https://reactos.org/testman/compare.php?ids=68471,68479 KVM https://reactos.org/testman/compare.php?ids=68472,68480
1 parent 021f498 commit 6f651b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

win32ss/user/ntuser/draw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ BOOL FASTCALL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
814814
lf.lfWidth = 0;
815815
lf.lfWeight = FW_NORMAL;
816816
lf.lfCharSet = DEFAULT_CHARSET;
817-
lf.lfQuality = NONANTIALIASED_QUALITY;
817+
lf.lfQuality = ANTIALIASED_QUALITY;
818818
RtlCopyMemory(lf.lfFaceName, L"Marlett", sizeof(L"Marlett"));
819819
hFont = GreCreateFontIndirectW(&lf);
820820
/* save font and text color */

win32ss/user/user32/windows/draw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
842842
lf.lfWidth = 0;
843843
lf.lfWeight = FW_NORMAL;
844844
lf.lfCharSet = DEFAULT_CHARSET;
845+
lf.lfQuality = ANTIALIASED_QUALITY;
845846
lstrcpy(lf.lfFaceName, TEXT("Marlett"));
846847
hFont = CreateFontIndirect(&lf);
847848
/* save font and text color */

0 commit comments

Comments
 (0)