[6/6] d3dx9: Add tests for basic ID3DXFont functions

Roderick Colenbrander thunderbird2k at gmail.com
Wed Jun 17 13:00:37 CDT 2009


Hi Tony,

+    hr = D3DXCreateFontA(device, 12, 0, FW_DONTCARE, 0, FALSE,
DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH,
"Arial", &font);

A bunch of font tests all use Arial. On Windows this font is always
around, what happens on Wine when this font isn't around? Perhaps the
function fails on fonts which aren't around, so this could potentially
result in a lot of test failures on Wine. Not sure what should be done
if this is the case though (perhaps check at run time if the font is
around or perhaps use a font which is always around as a fallback).

Regards,
Roderick



More information about the wine-devel mailing list