RE. [1/5]dwrite: Implement Font File Loader registration
12 Aug
2014
12 Aug
'14
7 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
4143
Age (days ago)
4143
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aric Stewart