Commit 857b25e5 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

win32u: Don't allow bitmap fonts if OUT_TT_ONLY_PRECIS output precision is specified.

parent 33ee9fad
...@@ -4622,6 +4622,9 @@ static HFONT CDECL font_SelectFont( PHYSDEV dev, HFONT hfont, UINT *aa_flags ) ...@@ -4622,6 +4622,9 @@ static HFONT CDECL font_SelectFont( PHYSDEV dev, HFONT hfont, UINT *aa_flags )
break; break;
} }
if (lf.lfOutPrecision == OUT_TT_ONLY_PRECIS)
can_use_bitmap = FALSE;
lf.lfWidth = abs(lf.lfWidth); lf.lfWidth = abs(lf.lfWidth);
TRACE( "%s, h=%d, it=%d, weight=%d, PandF=%02x, charset=%d orient %d escapement %d\n", TRACE( "%s, h=%d, it=%d, weight=%d, PandF=%02x, charset=%d orient %d escapement %d\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment