mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[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:
parent
4795d953c0
commit
03516733ef
1 changed files with 5 additions and 2 deletions
|
@ -2378,8 +2378,11 @@ PATH_ExtTextOut(
|
|||
TRUE);
|
||||
if (dwSize == GDI_ERROR)
|
||||
{
|
||||
PATH_UnlockPath(pPath);
|
||||
return FALSE;
|
||||
// With default DC font,,, bitmap font?
|
||||
// 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 */
|
||||
|
|
Loading…
Reference in a new issue