MakeSprintFont tool and XNA

Feb 27, 2015 at 2:37 PM
Are spritefonts generated with the MakeSpriteFont tool compatible with XNA? Likewise, can XNA Spritefonts and other XNB's work with the DirectX Toolkit?
Coordinator
Feb 27, 2015 at 7:58 PM
DirectX Tool Kit does not make use of the XNA Game Studio content pipeline and doesn't consume XNB files. The .spritefont generated by DirectX Tool Kit's MakeSpriteFont is essentially the same thing you have for a font in XNA Game Studio (it's a port of the same code from the XNA Game Studio content processor for fonts), but it's not in a compatible binary package. The XNB format is heavily tied into the .NET serialization/deserialization type system so it is not as convenient to use for content from C++.

The Visual Studio built-in content system is limited, but it generates DDS files, CMO files, and DGSL CSO's that can be loaded by DirectX Tool Kit.
Marked as answer by walbourn on 2/27/2015 at 12:58 PM