Reputation: 1
im using DirectN in my project, everything else works fine, i can use DWriteFunctions class to create a factory, except i can't find a class to access IDWriteLocalFontFileLoader interface to use the method inside. i googled a lot but i just don't know how to do that
Upvotes: 0
Views: 102
Reputation: 139167
You need to do this:
CreateFontFileReference(localpath, ...)
. This will get you a IDWriteFontFile reference.Upvotes: 0