gdiplus: don't accept MS Sans Serif as the generic sans serif font

Vincent Povirk vincent at codeweavers.com
Fri Sep 4 17:01:47 CDT 2009


I believe that GdipGetGenericFontFamilySansSerif will never create the MS Sans Serif font on Windows. This is based on a comment in that function and on the fact that native gdiplus does not use bitmap fonts (which we test elsewhere by trying to create a font family for MS Sans Serif).

This is true on Windows XP, and I believe it will be true on other Windows systems.

It's important because bitmap fonts do not scale and rotate properly.

This patch updates the test suite to reflect that MS Sans Serif is returned only on Wine, never on Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090904/2ebd6fc5/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-gdiplus-don-t-accept-MS-Sans-Serif-as-the-generic-s.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090904/2ebd6fc5/attachment.txt>


More information about the wine-patches mailing list