RE. [1/5]dwrite: Implement Font File Loader registration

Aric Stewart aric at codeweavers.com
Tue Aug 12 14:00:32 CDT 2014


Sorry, I missed this e-mail...

I got a bit sloppy with some of my tests. I will clean those up.


>> +static HRESULT WINAPI fontfileloader_CreateStreamFromKey(IDWriteFontFileLoader *iface, const void *fontFileReferenceKey, UINT32 fontFileReferenceKeySize, IDWriteFontFileStream **fontFileStream)
>> +{
>> +    return 0x8faecafe;
> 
> I'm sure this works, but it's cleaner to return E_FAIL/E_NOTIMPL imho.

The point of that part of the test is to show that the error code returned from CreateStreamFromKey is passed down to CreateFontFace.

-aric



More information about the wine-devel mailing list