gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies.
huw at codeweavers.com
Tue Jul 8 16:26:19 CDT 2008
Adam Petaccia wrote:
> On Tue, 2008-07-08 at 13:20 +0100, Huw Davies wrote:
>> dlls/gdiplus/tests/font.c | 7 +++++++
>> 1 files changed, 7 insertions(+), 0 deletions(-)
> On my Windows system I can't find MSSansSerif, only Microsoft Sans
> Serif. I'm not sure if that's a valid test to prove that point.
It's a bitmap font. The (latin version of the) font file is called
sserife.fon . Basically the FontFamily stuff relies on scalable
outlines, so gdiplus seems to simply ignore bitmap fonts.
It's also a hint that Wine's GdipGetGenericFontFamilySansSerif() is
incorrect - in the absence of 'Microsoft Sans Serif' then 'Tahoma' may
be a better choice.
More information about the wine-devel