PATCH: [Bug 19] - font enumeration problems for aliased gdi fonts

Rafael Kitover caelum at debian.org
Thu Jul 25 14:43:37 CDT 2002


Huw D M Davies wrote:
> What's exactly the problem here?  Is it lack of support of 16bit EnumFonts ?
> 
> Huw.

The problem is this line in X11DRV_EnumDeviceFonts:

if (physDev->dc->gdiFont) return FALSE;

so if the font is "MS Sans Serif", it will return 0, and old VB apps at least
won't like that. But knowing the actual X11 font name given in the wine config,
from the alias table it's possible to enumerate it, so those apps will start,
that's what that patch does.

That's all I really managed to understand here, if there is a better way to do
this I will.





More information about the wine-devel mailing list