https://git.reactos.org/?p=reactos.git;a=commitdiff;h=03516733efec834a5467f…
commit 03516733efec834a5467f7ef7e18824f8eb3d9a2
Author:     James Tabor <james.tabor(a)reactos.org>
AuthorDate: Mon Sep 6 17:53:35 2021 -0500
Commit:     James Tabor <james.tabor(a)reactos.org>
CommitDate: Mon Sep 6 17:53:35 2021 -0500
    [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.
---
 win32ss/gdi/ntgdi/path.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/ntgdi/path.c b/win32ss/gdi/ntgdi/path.c
index 717fe9568b9..4343d553e0e 100644
--- a/win32ss/gdi/ntgdi/path.c
+++ b/win32ss/gdi/ntgdi/path.c
@@ -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 */