[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/4273004e65addb70b3f7d91e95eb3d5da31ffa3e

CORE-18588
This commit is contained in:
Jeff Smith
2022-11-05 02:42:13 +03:00
committed by Joachim Henze
parent f89b406de6
commit c8ef276778
+1
View File
@@ -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]],