Export (0) Print
Expand All

FontDescriptionImporter Class

Provides methods for reading .spritefont files for use in the Content Pipeline.
Bb464059.note(en-US,XNAGameStudio.20).gifNote
As with most types of software, font files are licensed rather than sold. Font licenses vary from vendor to vendor, but most don't allow redistribution of the fonts, and that includes redistribution of reproductions such as bitmaps containing the rasterized character set. This is even true of many of the licenses covering fonts that Microsoft supplies with applications and Windows. Be careful, therefore, to ensure that you have the required license rights to redistribute any font you include as a bitmap containing the rasterized character set in your game!

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

[ContentImporterAttribute(".spritefont")]
public class FontDescriptionImporter : ContentImporter<FontDescription>

Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft