12 Aug
2014
12 Aug
'14
2 p.m.
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