[GDI32] Do not fail on path with bitmap fonts.

Patch by Dmitry Timoshkov : ExtTextOut on a path with bitmap font
selected shouldn't fail.
This just leads to empty path generated.
This commit is contained in:
James Tabor 2021-09-06 17:53:35 -05:00
parent 4795d953c0
commit 03516733ef

View file

@ -2378,8 +2378,11 @@ PATH_ExtTextOut(
TRUE); TRUE);
if (dwSize == GDI_ERROR) if (dwSize == GDI_ERROR)
{ {
PATH_UnlockPath(pPath); // With default DC font,,, bitmap font?
return FALSE; // ExtTextOut on a path with bitmap font selected shouldn't fail.
// This just leads to empty path generated.
// Ref : test_emf_ExtTextOut_on_path
continue;
} }
/* Add outline only if char is printable */ /* Add outline only if char is printable */