<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XNA Framework</title><link>http://forums.xna.com/forums/56.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/60371.aspx</link><pubDate>Tue, 06 May 2008 11:20:18 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:60371</guid><dc:creator>Shawn Hargreaves</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/60371.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=60371</wfw:commentRss><description>&lt;P&gt;Hey Kyoshiro, I'm curious why you want this sample?&lt;/P&gt;
&lt;P&gt;We took it down because it didn't seem useful now that we have the same (or actually rather better, with a lot of bugs fixed :-) font support built directly into the framework.&lt;/P&gt;
&lt;P&gt;If there are things you need that are missing from our built-in font implementation, I would be very interested to understand more about what those are.&lt;/P&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/60363.aspx</link><pubDate>Tue, 06 May 2008 10:32:02 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:60363</guid><dc:creator>The ZMan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/60363.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=60363</wfw:commentRss><description>&lt;P&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="http://forums.xna.com/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;kyoshiro_FR:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I searched near everywhere where I could find the "FontSample.zip" stuff, and i couldn't find it !&lt;BR&gt;&lt;BR&gt;The link you posted &lt;A href="http://creators.xna.com/Headlines/developmentaspx/archive/2007/02/13/Font-Sample.aspx"&gt;here&lt;/A&gt; is not working anymore.&lt;BR&gt;Do you know where I could find it please ?&lt;BR&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/P&gt;
&lt;P&gt;Yes it appears to have gone... I have contacted MS to see what is happening. Hopefully we can get it rehosted somewhere soon.&lt;/P&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/60361.aspx</link><pubDate>Tue, 06 May 2008 09:34:17 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:60361</guid><dc:creator>lucpro74</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/60361.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=60361</wfw:commentRss><description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for use your font, you must create a new dir in your Content named Fonts.&lt;/P&gt;
&lt;P&gt;add your name.spritefont&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000&gt;and in code write :&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;
&lt;P&gt;public&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;static&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#2b91af size=2&gt;&lt;FONT color=#2b91af size=2&gt;SpriteFont&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; FontMainMenu; &lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;FontMainMenu = Content.Load&amp;lt;SpriteFont&amp;gt;("Fonts\\Arial");&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#ff0000 size=2&gt;draw string with :&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;
&lt;P&gt;spritebatch.DrawString(FontMainMenu ,"Text", new Vector2(100,100),&amp;nbsp;Color.Blue);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/60356.aspx</link><pubDate>Tue, 06 May 2008 08:29:37 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:60356</guid><dc:creator>kyoshiro FR</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/60356.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=60356</wfw:commentRss><description>I searched near everywhere where I could find the "FontSample.zip" stuff, and i couldn't find it !&lt;br&gt;&lt;br&gt;The link you posted &lt;a href="http://creators.xna.com/Headlines/developmentaspx/archive/2007/02/13/Font-Sample.aspx"&gt;here&lt;/a&gt; is not working anymore.&lt;br&gt;Do you know where I could find it please ?&lt;br&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/7372.aspx</link><pubDate>Fri, 27 Apr 2007 13:20:41 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:7372</guid><dc:creator>ArchAlien 360</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/7372.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=7372</wfw:commentRss><description>Wouldnt you know, t days of hacking to come up with working fonts and then posting the howto MS releases th refresh w/ fonts included DOH.&lt;br&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/7252.aspx</link><pubDate>Thu, 26 Apr 2007 22:46:15 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:7252</guid><dc:creator>Rob Loach</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/7252.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=7252</wfw:commentRss><description>I just thought I'd say thanks for the help with this....&lt;br&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/6595.aspx</link><pubDate>Sat, 21 Apr 2007 17:59:32 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:6595</guid><dc:creator>ArchAlien 360</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/6595.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=6595</wfw:commentRss><description>I want to thank all posters for their input!&lt;br&gt;I was trying to get teh fonts on a 360 project as cleanly as possible.&lt;br&gt;I suceeded and wanted to give a simple tuorial for those who shall follow.&lt;br&gt;(This is just for adding fonts to the 360 templated project.)&lt;br&gt;&lt;br&gt;1) Download the FontSample.zip stuff &lt;a href="http://creators.xna.com/Headlines/developmentaspx/archive/2007/02/13/Font-Sample.aspx"&gt;here&lt;/a&gt; and extract.&lt;br&gt;2) Open the FontPipline C# project file, change from Debug to Release mode and Build Solution.&lt;br&gt;3) Open the FontRendererXbox C# project file, change from Debug to Release mode and Build Solution.&lt;br&gt;&lt;br&gt;
4) Copy FontRenderer.dll from FontSample\FontRenderer\bin\Xbox 360\Release to an appropriate location in your 360 project.&lt;br&gt;5) Copy FontPipeline.dll from FontSample\FontPipeline\bin\x86\Release to an appropriate location in your 360 project.&lt;br&gt;6) Copy the Content Folder and the 2 files it contains from FontSample\FontSample to an appropriate location in your 360 project.&lt;br&gt;For the purpose of this example I copied both dll's and the content folder to the main dir of the project where Program.cs and Game1.cs are located&lt;br&gt;&lt;br&gt;7) Rt click on your on your Project Name in the solution explorer and select properties.&lt;br&gt;Go to contentpipeline and add FontPipline.dll&lt;br&gt;8) Rt click on your on your Project Name in the solution explorer and select Add Reference.&lt;br&gt;Browse and add FontRenderer.dll&lt;br&gt;9) Create a new folder in your project called "Content" (it doesnt overwrite the folder already copied)&lt;br&gt;From the content Folder add existng items:&lt;br&gt;-Goto Content Folder, select ContentPipelineFiles and add BitmapFont&lt;br&gt;Repeat these steps again, when navigated to the Content folder select Data Files and add TrueTypeFont&lt;br&gt;&lt;br&gt;10) Select properties of BitMapFont and change Content Processor to Bitmap Font Processor&lt;br&gt;11) Select Properties of TrueTypeFont and change Content Importer to XML Content XNA Framework&lt;br&gt;also change Content Processor to TrueTypeFontProcessor&lt;br&gt;&lt;br&gt;That should handle all the setup now for the code:&lt;br&gt;&lt;br&gt;Add:&lt;br&gt;using FontRenderer;&lt;br&gt;&lt;br&gt;In you class definition (Game1) add:&lt;br&gt;Font bitmapFont;&lt;br&gt;Font trueTypeFont;&lt;br&gt;SpriteBatch spriteBatch;&lt;br&gt;&lt;br&gt;In your LoadGraphicsContent method add:&lt;br&gt;bitmapFont = content.Load&amp;lt;Font&amp;gt;(@"Content/BitmapFont");&lt;br&gt;trueTypeFont = content.Load&amp;lt;Font&amp;gt;(@"Content/TrueTypeFont");&lt;br&gt;spriteBatch = new SpriteBatch(graphics.GraphicsDevice);&lt;br&gt;&lt;br&gt;And finally some sample code to actually draw some sample you can refrence, in your Draw method add:&lt;br&gt;spriteBatch.Begin();&lt;br&gt;graphics.GraphicsDevice.Clear(Color.SlateGray);&lt;br&gt;trueTypeFont.Draw("Hello, World!", new Vector2(64, 12), 2, Color.Red, spriteBatch);&lt;br&gt;trueTypeFont.Draw("This was converted from a TrueType font", new Vector2(64, 76), 1, Color.Black, spriteBatch);&lt;br&gt;bitmapFont.Draw("But this font was drawn by hand as a bitmap", new Vector2(64, 124), 1, Color.Black, spriteBatch);&lt;br&gt;trueTypeFont.Draw("This text has a drop shadow", new Vector2(66, 142), 1, Color.Black, spriteBatch);&lt;br&gt;trueTypeFont.Draw("This text has a drop shadow", new Vector2(64, 140), 1, Color.White, spriteBatch);&lt;br&gt;bitmapFont.Draw("#'s have color gradients " + "drawn into the font: 012345", new Vector2(64, 185), 1, Color.White, spriteBatch);&lt;br&gt;spriteBatch.End();&lt;br&gt;DrawFontTexture(trueTypeFont, "Truetype", new Vector2(64, 235));&lt;br&gt;DrawFontTexture(bitmapFont, "Bitmap", new Vector2(320, 235));&lt;br&gt;&lt;br&gt;Lastly you'll need to add this method for those last 2 lines from the draw method:&lt;br&gt;private void DrawFontTexture(Font font, string name, Vector2 position)&lt;br&gt;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.Begin(SpriteBlendMode.None);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.Draw(font.Texture, position, new Color(64, 64, 64));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.End();&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.Begin(SpriteBlendMode.AlphaBlend);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.Draw(font.Texture, position, new Color(128, 128, 128));&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bitmapFont.Draw(name + " font texture:", position - new Vector2(0, 20), 1, Color.Black, spriteBatch);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spriteBatch.End();&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;That should do it, again this is for Xbox specific templated project, but minor alterations prolly work for Windows version too.&lt;br&gt;Thx to all with the info to get me going, hopefulle others can follow my guide successfully!&lt;br&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4950.aspx</link><pubDate>Tue, 03 Apr 2007 20:23:01 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4950</guid><dc:creator>c26354</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4950.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4950</wfw:commentRss><description>&lt;p&gt;Thank you!!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve been racking my brain for so long on this one and I finally got it. First you have to add the FontRenderer project and then you have to add a reference to it. I finally got hello world to print:)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for your help.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4949.aspx</link><pubDate>Tue, 03 Apr 2007 20:02:01 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4949</guid><dc:creator>BilbroBloggins</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4949.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4949</wfw:commentRss><description>In your game project you need to add a reference (right-click your project and select Add Reference)&amp;nbsp;to the FontRendererWindows project (for Windows) or the FontRendererXbox (for XBox).&amp;nbsp; In my case, I just added the FontRendererWindows project to my Windows Solution and added a project reference (I did the same for my XBox) solution.&amp;nbsp; I&amp;#39;m sure a file reference will work too.</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4948.aspx</link><pubDate>Tue, 03 Apr 2007 19:52:06 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4948</guid><dc:creator>c26354</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4948.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4948</wfw:commentRss><description>&lt;p&gt;ok, I tried that and it still doesn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is what I have so far:&lt;/p&gt;&lt;p&gt;1) At the top of my files I put using FontRenderer, and I added the font.cs and fontReader.cs to my project by going to add existing files.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2)I added the XML file by also going to add existing and I put it in a folder called content. I changed the properties like you said.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;3) I&amp;nbsp; added FontPipeline to the content pipeline like you said.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;4) Now for the actual code:&lt;/p&gt;&lt;p&gt;I have the following outside of any methods but inside the game class:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpriteBatch textBatch;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Font type;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The inside the load content method I have:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = content.Load&amp;lt;Font&amp;gt;(&amp;quot;Content\\TrueTypeFont&amp;quot;);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textBatch = new SpriteBatch(graphics.GraphicsDevice);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And inside the draw method I have:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textBatch.Begin();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type.Draw(&amp;quot;Hello, World!&amp;quot;, new Vector2(64, 12), 2, Color.Red, textBatch);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textBatch.End();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The project compiles but it hangs when I run it. So I set a break point at the &amp;nbsp;&lt;/p&gt;&lt;p&gt;type = content.Load&amp;lt;Font&amp;gt;(&amp;quot;Content\\TrueTypeFont&amp;quot;);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;line and then the debugger give me the following error:&lt;/p&gt;&lt;p&gt;Error loading &amp;quot;Content\TrueTypeFont&amp;quot;. Cannot find ContentTypeReader FontRenderer.FontReader, FontRenderer, Version=1.0.0.0, Culture=neutral.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m pretty sure something is wrong with the way I added the files to my project but i&amp;#39;m not sure what.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for the help.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4937.aspx</link><pubDate>Tue, 03 Apr 2007 18:46:32 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4937</guid><dc:creator>BilbroBloggins</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4937.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4937</wfw:commentRss><description>&lt;p&gt;haha, I just finished up my pong game and I ran into same problem (I hope the XNA team does work on making fonts better).&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you load up the Sample Font&amp;#39;s project and then select the \Content\TrueTypeFont.xml file and look at it&amp;#39;s properties, you&amp;#39;ll see the Content Importer and Content Processor&amp;#39;s set.&amp;nbsp;&amp;nbsp;&amp;nbsp; In your project, you&amp;#39;ll need to do the following:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Right click on your project and select properties.&lt;/li&gt;&lt;li&gt;Select the Content Pipeline&lt;/li&gt;&lt;li&gt;Select Add&lt;/li&gt;&lt;li&gt;Browse to your FontPipeline\bin\debug folder (or wherever you have the fontpipeline compiled) &lt;/li&gt;&lt;li&gt;Select Open on the FontPipeline.dll.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Then on the properties of the TrueTypeFont.xml file in your project&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Set the &lt;strong&gt;XNA Framework Content&lt;/strong&gt; to &lt;strong&gt;True&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Set the &lt;strong&gt;Content Importer&lt;/strong&gt; to &lt;strong&gt;XML Content - XNA Framework&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;Set the &lt;strong&gt;Content Processor&lt;/strong&gt; to &lt;strong&gt;TrueTypeFontProcessor&lt;/strong&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I did this by memory so just let me know if that doesn&amp;#39;t do the trick and I&amp;#39;ll dig through my project.&lt;/p&gt;&lt;p&gt;HTHs!&lt;/p&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4914.aspx</link><pubDate>Tue, 03 Apr 2007 17:19:14 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4914</guid><dc:creator>c26354</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4914.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4914</wfw:commentRss><description>&lt;p&gt;Thanks for the replies,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ok, I tried using the
reference paths, I added a reference for the main folder that holds
font.cs and I also added references to the three sub folders but when I
type:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;using FontRenderer;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;it can&amp;#39;t find the namespace thats in the font.cs file. Could someone please tell me how to reference other assemblies? And which files I need to add to my project.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4855.aspx</link><pubDate>Tue, 03 Apr 2007 13:39:29 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4855</guid><dc:creator>Camp ELM</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4855.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4855</wfw:commentRss><description>I&amp;#39;ll have to try that this weekend (I&amp;#39;m at work right now) but I&amp;#39;ll try that first.&amp;nbsp; Like I said I hit this error right before bed so I only tried a few things.</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4839.aspx</link><pubDate>Tue, 03 Apr 2007 12:30:31 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4839</guid><dc:creator>Shawn Hargreaves</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4839.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4839</wfw:commentRss><description>Most likely you need to update the GetRuntimeReader method (in FontWriter.cs) to match the name of your game assembly. The second &amp;quot;FontRenderer&amp;quot; entry (after the type name, which is &amp;quot;FontRenderer.FontReader&amp;quot;) is the name of the assembly that the type will be loaded into. If you added the runtime font files to your own project rather than just referencing the assembly built by the sample, these types will now be in a different assembly, so you must update FontWriter.cs to match their new location.&lt;br /&gt;</description></item><item><title>Re: Using the Font Class Sample</title><link>http://forums.xna.com/forums/thread/4818.aspx</link><pubDate>Tue, 03 Apr 2007 11:15:04 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:4818</guid><dc:creator>Camp ELM</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/4818.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=56&amp;PostID=4818</wfw:commentRss><description>c26354, you&amp;#39;re not going crazy, cause I had the same problem on Sunday night.&amp;nbsp; I haven&amp;#39;t had a chance to find out why exactly since I&amp;#39;ve been at work since then, but I loaded both the fontrenderer and the fontpipeline into my program and put them in the using statement.&amp;nbsp; Then I&amp;nbsp;added both the TrueTypeFont and the&amp;nbsp;BitMapFont in and tried both but got the same error.&amp;nbsp;I know this isn&amp;#39;t exactly &amp;quot;helpful&amp;quot; but at least this isn&amp;#39;t an uncommon problem.</description></item></channel></rss>