user32: Force a minimum character size of 1x1 to prevent divisions by zero if setting the font failed

Alexandre Julliard julliard at winehq.org
Fri Jun 18 09:49:24 CDT 2010


Paul Chitescu <paulc at voip.null.ro> writes:

> Changelog:
> 	user32: Force a minimum character size of 1x1 to prevent divisions by zero if 
> setting the font failed
>
> Failing to set any font is unusual but can happen - for example:
> DISPLAY= wine notepad

It sounds like a gdi bug. It should be able to provide metrics even
without a display.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list