Fonts getting corrupted in x11drv

Saulius Krasuckas saulius2 at
Thu May 25 04:46:30 CDT 2006

* On Thu, 25 May 2006, Troy Rollo wrote:
> The attached sample program demonstrates a bug in font handling that can 
> lead to corrupted fonts. Compile with "winegcc -g sysfont.c -lgdi32 
> -lcomdlg32".

I'am running wine from a local src tree, so I had to compile this way:

$ tools/winegcc/winegcc -Btools/winebuild/ -B/usr/bin/ -g sysfont.c -Ldlls -Llibs -Iinclude -mwindows

> Run the resulting a.out, and you will see the letter "C" in the top left 
> corner of the window, rendered in the system font. Click anywhere in the 
> client area of the window and the letter will change its shape, 

And in my case it didn't happen.

More information about the wine-devel mailing list