mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +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);
|
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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue