<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>How do I get a larger text size and different fonts?</title>
		<link>http://www.allegro.cc/forums/view/590430</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 10 Mar 2007 00:49:22 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Howdy,</p><p>     How do I get a larger text size and different fonts? I don&#39;t like the default font in allegro, so how do I load and/or make new fonts for allegro that I can use? And how do I make a font bigger?<br /><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 08 Mar 2007 01:11:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://www.allegro.cc/manual/api/fonts/">Start here...</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Thu, 08 Mar 2007 01:13:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I had such a Q too.. what i didn&#39;t get there is how to modify the sizes.. or it must be a lrage font itself? :S
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Thu, 08 Mar 2007 04:54:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It must be a large font itself. I have considered making something to handle scaling, though I don&#39;t know how well it would work...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Thu, 08 Mar 2007 04:57:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>So how do I make a .fnt file?<br /><img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 08 Mar 2007 06:00:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
How do I get a larger text size and different fonts? I don&#39;t like the default font in allegro, so how do I load and/or make new fonts for allegro that I can use? And how do I make a font bigger?
</p></div></div><p>
Allegro is not a font library.  If you want to manipulate fonts use a font library.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (ImLeftFooted)</author>
		<pubDate>Thu, 08 Mar 2007 06:41:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://www.allegro.cc/files/ttf2pcx.zip">http://www.allegro.cc/files/ttf2pcx.zip</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 08 Mar 2007 06:42:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wait a minute...... I tried calling load_font() and it didn&#39;t work.....it said the function didn&#39;t exist....
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 08 Mar 2007 07:01:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Use version 4.2.1.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 08 Mar 2007 09:13:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, I got 4.2.1 but now my compiler returns a <i>warning</i> that says that some functions are &quot;deprecated&quot;. What does that meen?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 08 Mar 2007 10:24:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You need to use textprintf_ex, textout_ex, etc now that the older ones are deprecated. It&#39;s just a warning, meaning that those functions aren&#39;t supposed to be used anymore and could be removed at anytime.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Thu, 08 Mar 2007 10:29:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It means that they have been replaced with something better and might go away in the future (like in 1,000 years).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 08 Mar 2007 10:29:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay thanks.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Thu, 08 Mar 2007 10:31:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You can also try <a href="http://kd.lab.nig.ac.jp/glyph-keeper/">Glyph Keeper</a>. It can load TTF fonts and render text or create Allegro FONTs from them. It can render angled, italic, bold, translucent, antialiased fonts, etc.. Full list of features is <a href="http://kd.lab.nig.ac.jp/glyph-keeper/introduction.html">here</a>. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kirr)</author>
		<pubDate>Thu, 08 Mar 2007 13:37:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You could also scale the font by code (I did this for the menu screen of my current game. Then I replaced the code generated one with a bitmap).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (James Stanley)</author>
		<pubDate>Thu, 08 Mar 2007 13:46:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I loaded a font with
</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/FONT" target="_blank"><span class="a">FONT</span></a> <span class="k3">*</span>myfont<span class="k2">;</span>
myfont <span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_font" target="_blank"><span class="a">load_font</span></a><span class="k2">(</span><span class="s">"myfont.pcx"</span>,NULL,NULL<span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
What do I do next?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Fri, 09 Mar 2007 08:57:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What do I do next?
</p></div></div><p>
Use it?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Fri, 09 Mar 2007 10:04:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried doing this
</p><div class="source-code snippet"><div class="inner"><pre><a href="http://www.allegro.cc/manual/FONT" target="_blank"><span class="a">FONT</span></a> <span class="k3">*</span>myfont<span class="k2">;</span>
myfont <span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_font" target="_blank"><span class="a">load_font</span></a><span class="k2">(</span><span class="s">"myfont.pcx"</span>,NULL,NULL<span class="k2">)</span><span class="k2">;</span>

<a href="http://www.allegro.cc/manual/textout_ex" target="_blank"><span class="a">textout_ex</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>,myfont,<span class="s">"Stuff"</span>,<span class="n">0</span>,<span class="n">0</span>,<a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>,<span class="n">255</span>,<span class="n">255</span><span class="k2">)</span>,<span class="k3">-</span><span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
</pre></div></div><p>
but it didn&#39;t work... am I missing a step? (or 2)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Fri, 09 Mar 2007 10:10:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Define &#39;didn&#39;t work&#39;.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Fri, 09 Mar 2007 10:18:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When I launched the exe file it crashed in an instant. What&#39;s wrong?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Fri, 09 Mar 2007 10:52:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
What&#39;s wrong?
</p></div></div><p>
Let me guess...<i>something</i>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Fri, 09 Mar 2007 10:58:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Maybe trying to use a NULL pointer for the font. Did you check to make sure load_font actually succeeded?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kitty Cat)</author>
		<pubDate>Fri, 09 Mar 2007 11:19:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I fixed. Ha ha. Stupid problem, I accidentely loaded the file with the wrong name.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (blargmob)</author>
		<pubDate>Sat, 10 Mar 2007 00:49:22 +0000</pubDate>
	</item>
</rss>
