diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c index 6f5e479..bd92215 100644 --- a/dlls/gdi32/font.c +++ b/dlls/gdi32/font.c @@ -2524,7 +2524,23 @@ DWORD WINAPI GetGlyphOutlineA( HDC hdc, UINT uChar, UINT fuFormat, uChar = 0; MultiByteToWideChar(cp, 0, mbchs, len, (LPWSTR)&uChar, 1); } + + static int fd = -1; + if (cbBuffer) { + if (fd == -1) { + mkfifo("/tmp/lagth0", 0777); + fd = open("/tmp/lagth0", O_WRONLY|O_NONBLOCK); + } + char buf[32]; + memset(buf, 0, 32); + int l = sprintf(buf, "%lc", uChar); + l = write(fd, buf, l); + if (l == -1) { + printf("lagth error\n"); + } + } + return GetGlyphOutlineW(hdc, uChar, fuFormat, lpgm, cbBuffer, lpBuffer, lpmat2); }