If you want to contribute to the forum discussions, please Register or Login.
I'm loving the library so far. Great work! I would like to suggest adding an option for using textures for fonts. For my project I changed the BuildAsset call in ProcessFonts from
var spriteFont = context.BuildAsset<FontDescription, SpriteFontContent>(
new
ExternalReference<FontDescription>(filename),
"FontDescriptionProcessor"
,
null
"XmlImporter"
name);
to
var spriteFont = context.BuildAsset<Texture2DContent, SpriteFontContent>(
ExternalReference<Texture2DContent>(filename),
"FontTextureProcessor"
"TextureImporter"
so that I could use a custom font bitmap. It seems like it could be helpful to have a Font XML attribute of "IsTexture" that would pick the alternate processor/importer for those that want to use textures instead of installed fonts.
DigitalRune is a trademark of Garstenauer Information Technology OG.
Garstenauer Information Technology OG Weingartenstrasse 35, 4452 Ternberg Austria (EUROPE) office@digitalrune.com