https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c8ef276778854a1eec6bd6...
commit c8ef276778854a1eec6bd6ec1f6377ef9b023189 Author: Jeff Smith whydoubt@gmail.com AuthorDate: Wed Oct 21 00:49:33 2020 -0500 Commit: Joachim Henze joachim.henze@reactos.org CommitDate: Sat Nov 5 02:42:13 2022 +0300
[COMDLG32] Set background to transparent for font dialog sample text
Import Wine commit wine-5.19-325-g4273004e65a: https://source.winehq.org/git/wine.git/commit/4273004e65addb70b3f7d91e95eb3d...
CORE-18588 --- dll/win32/comdlg32/fontdlg.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dll/win32/comdlg32/fontdlg.c b/dll/win32/comdlg32/fontdlg.c index ecb6ce0e33a..279b91a11bf 100644 --- a/dll/win32/comdlg32/fontdlg.c +++ b/dll/win32/comdlg32/fontdlg.c @@ -1186,6 +1186,7 @@ static LRESULT CFn_WMPaint(HWND hDlg, WPARAM wParam, LPARAM lParam, const CHOOSE /* Draw the sample text itself */ hOrigFont = SelectObject( hdc, CreateFontIndirectW( &lf ) ); SetTextColor( hdc, lpcf->rgbColors ); + SetBkMode( hdc, TRANSPARENT );
DrawTextW( hdc, sample_lang_text[CHARSET_ORDER[lpcf->lpLogFont->lfCharSet]],