gdi32/path.c -- Allow PATH_ExtTextOut() handle non printablecharacters

Dmitry Timoshkov dmitry at
Sun Mar 15 23:18:14 CDT 2009

"Massimo Del Fedele" <max at> wrote:

> PATH_ExtTextOut() uses GetGlyphOutlineW() which can return a NULL buffer 
> size not just on errors but also on non-printable glyphs.
> Instead of aborting the function should check for such cases, get the 
> metrics and continue.

This patch doesn't match the normal logic of ExtTextOut implemented
in dlls/winex11.drv/xrender.c, also this requires a test case for
both code paths.


More information about the wine-devel mailing list