• Home
  • Products
    • Game Engine
      • Base
      • Mathematics
      • Geometry
      • Physics
      • Particles
      • Animation
      • Graphics
      • Game
      • Game UI
    • Windows Forms
      • Docking Windows
      • Text Editor Control
  • Downloads
  • Buy
    • Overview
    • Professional
    • Indie
    • Non-Commercial
  • Support
    • Overview
    • Blog
    • Forum
    • License FAQ
    • Documentation
  • About
    • About Us
      • Services
    • Contact Us
    • Press
    • Legal Terms
      • Imprint (English)
      • Imprint (German)
Select the search type
 
  • Site
  • Web
Search
DigitalRune.com
Login |Register
NEWS News RSS Feed BLOG Blog RSS Feed FORUM News RSS Feed DOCUMENTATION DigitalRune Software on YouTube DigitalRune Software on Twitter
You are here: SupportForum

If you want to contribute to the forum discussions, please Register or Login.

SearchHome
  • 1
  • 2
  • 3
  • 4
  • 5
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineGame.UI: Sprite Font TextureGame.UI: Sprite Font Texture
Previous
 
Next
New Post
9/3/2011 2:02 AM
 
RoboBob
No Ranking

Joined: 6/21/2011
Posts: 1
Game.UI: Sprite Font Texture 

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>(
          new ExternalReference<Texture2DContent>(filename),
          "FontTextureProcessor",
          null,
          "TextureImporter",
          name);

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.

 
New Post
9/3/2011 10:32 AM
 
MartinG
7th Level Poster

www.digitalrune.com
Joined: 10/15/2006
Posts: 448
Re: Game.UI: Sprite Font Texture 
Thx, we will add your suggestion in the next update.
 
 Page 1 of 1
Previous
 
Next
HomeHomeDigitalRune Sof...DigitalRune Sof...Game EngineGame EngineGame.UI: Sprite Font TextureGame.UI: Sprite Font Texture


DigitalRune is a trademark of Garstenauer Information Technology OG.

Garstenauer Information Technology OG
Weingartenstrasse 35, 4452 Ternberg
Austria (EUROPE)
office@digitalrune.com

Home Products Downloads Buy Support About Us
Game Engine Particles Windows Forms Professional Blog Services
Base Animation Docking Windows Indie Forum Contact Us
Mathematics Graphics Text Editor Control Non-Commercial License FAQ Press (News)
Geometry Game Documentation Legal Terms
Physics Game UI Imprint
Impressum
Copyright © 2006-2012 Garstenauer Information Technology OG Terms Of UsePrivacy Statement