Skip to content

Instantly share code, notes, and snippets.

@keyle
Created October 26, 2013 01:55
Show Gist options
  • Save keyle/7164412 to your computer and use it in GitHub Desktop.
Save keyle/7164412 to your computer and use it in GitHub Desktop.
A simple of a .spritefont file - which is really an xml file - used to compile fonts in XNA and MonoGame.
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Segoe UI Mono</FontName>
<Size>14</Size>
<Spacing>0</Spacing>
<UseKerning>true</UseKerning>
<Style>Regular</Style>
<CharacterRegions>
<CharacterRegion>
<Start>&#32;</Start>
<End>&#126;</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment