how to build new font to load SpriteFont (-exenfont.png, -exentfont.exenfont)

Jul 18, 2013 at 8:01 AM
Hello,

I'm using XNA ExEn,
I have to use new font same as arial.ttf. So how to export to both files of SpriteFont ( (-exenfont.png, -exentfont.exenfont)?

Thanks.
Du
Feb 20, 2015 at 3:51 PM
Edited Feb 20, 2015 at 3:52 PM
Hi man I just got exactlly the same issue but after 6 hour I was able to fix it so here how to do it too :

1.Download nuclex-framework last build binaries and export xna-4.0-x86 somewhere into your computer
2.Open ExEn Xna.sln file into visual studio
3.Then find the project named ExEnFontShim under ExEn Xna
4.Delete everything inside ExEnFontShim\bin\x86\Debug
5.Add as reference the file from step one Nuclex.Fonts.Content.TrueTypeImporter.dll
6.Clean your project and then compile it :)

After that from your content project select your spritefont and under options Content processor select ExEn Font Shim - Sprite Font Description and then compile the project again and you will be able to see -exenfont.png and -exenfont.exenfont