I'm trying to load a custom font from a file using DirectWrite through SlimDX. I'm fairly certain I implemented my FontCollectionLoader and FontFileEnumerator correctly. I registered the loader with the DirectWrite factory. The problem the I keep getting is when I called SlimDX.DirectWrite.Factory.CreateCustomFontCollection I have no idea what to pass as the key and key size. Any help would be appreciated.
🔒 Locked
SlimDX and DirectWrite custom font help
Advertisement
Advertisement