Typical Spritefont XML

Jan 4, 2015 at 10:18 PM
I had a hard time getting the XML formatted correctly - especially the Character Region elements. I thought I'd share my working spritefont file:
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
  <Asset Type="Graphics:FontDescription">
    <FontName>Comic Sans MS</FontName>
    <Size>14</Size>
    <Spacing>2</Spacing>
    <Style>Bold</Style>
    <CharacterRegions>
      <CharacterRegion>
        <Start>&#32;</Start>
        <End>&#126;</End>
      </CharacterRegion>
    </CharacterRegions>
  </Asset>
</XnaContent>