Hi everyone,
I come to you with a problem on Pipeline …
I’m trying to convert a font to include it directly in my project, but it seems that Pipeline can’t …
Am I doing something wrong ?
Here is the font I’m trying to convert : http://www.google.com/fonts/specimen/Montserrat
Thanks for your help !
Ok my problem was simple … I tried to convert my .ttf file directly instead of trying to convert a .spritefont file !
So I created my .spritefont :
<?xml version="1.0" encoding="utf-8"?>
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
<Asset Type="Graphics:FontDescription">
<FontName>Montserrat-Regular</FontName>
<Size>20</Size>
<Spacing>2</Spacing>
<Style>Regular</Style>
<CharacterRegions>
<CharacterRegion>
<Start> </Start>
<End>~</End>
</CharacterRegion>
</CharacterRegions>
</Asset>
</XnaContent>
And it creates well my .xnb file