<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Fonts for menu.</title>
		<link>http://www.allegro.cc/forums/view/606083</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Tue, 18 Jan 2011 07:59:19 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi, been a while folks. <br />So, I would like to get some cool fonts, the inbuilt one is tiny and not much fun.</p><p>Is there a way to download some .pcx fonts? </p><p>I don&#39;t know how to make one <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Thanks for help.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 05:33:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://www.allegro.cc/resource/Tools/Fonts/ttf2pcx">TTF2PCX</a></p><p>That should let you <a href="http://www.dafont.com/">download fonts</a> in the normal TTF format and make PCX files out of it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Billybob)</author>
		<pubDate>Sat, 15 Jan 2011 05:45:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks a lot man. <br />I will try it now! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 05:55:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you want to draw your own:<br />   <a href="http://www.allegro.cc/depot/AllegroFontEditor/">http://www.allegro.cc/depot/AllegroFontEditor/</a><br />Has some sample fonts already, and can convert/import from Windows fonts - however you can&#39;t expect to convert a TrueType vectorial font to 16x16 monochrome and get clean result.</p><p>If you want to use existing bitmap fonts, such as some from:<br />   <a href="http://cgi.algonet.se/htbin/cgiwrap?user=guld1&amp;script=fonts.pl">http://cgi.algonet.se/htbin/cgiwrap?user=guld1&amp;script=fonts.pl</a><br />   <a href="http://www.zone38.net/font/bmpfont.html">http://www.zone38.net/font/bmpfont.html</a><br />You&#39;ll need to convert them - by cut-n-pasting the letters into a new bitmap like the Allegro fonts.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Audric)</author>
		<pubDate>Sat, 15 Jan 2011 06:19:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks Audric, I will try them out as well, and see which works best. </p><p>EDIT: <br />the converter works well, but the Bitmap font looks attractive to the eye.</p><p>How does one cut and paste it to allegro font?<br />Many thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 06:43:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Use <span class="source-code"><a href="http://www.allegro.cc/manual/load_font"><span class="a">load_font</span></a><span class="k2">(</span><span class="k2">)</span></span> on the exported bitmap.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sat, 15 Jan 2011 07:15:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi Matthew, thanks for replying. <br />I don&#39;t quite get what you mean. load_font() loads .pcx file not .bmp? </p><p>I tried it anyways and it didn&#39;t work. Can you explain what you mean a bit clearer? Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 08:09:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606083/898776#target">Eman_321</a> said:</div><div class="quote"><p>I don&#39;t quite get what you mean. load_font() loads .pcx file not .bmp?</p></div></div><p>It doesn&#39;t matter. Can be any format allegro supports through its built in image loaders, or through addons that extend load_bitmap to support things like png.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 15 Jan 2011 08:10:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Then I don&#39;t understand why I am getting a seg fault. </p><div class="source-code snippet"><div class="inner"><pre>    <a href="http://www.allegro.cc/manual/FONT"><span class="a">FONT</span></a><span class="k3">*</span> f<span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_font"><span class="a">load_font</span></a><span class="k2">(</span><span class="s">"furyfurries.bmp"</span>, NULL,NULL<span class="k2">)</span> <span class="k2">;</span>
</pre></div></div><p>

is what I have down. But it doesn&#39;t work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 08:15:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The image file that you load with load_font has to have a predefined format. See <a href="http://www.allegro.cc/manual/4/load_bitmap_font">load_bitmap_font</a> for details.</p><p>This is what a bitmap font looks like :<br /><span class="remote-thumbnail"><span class="json">{"name":"603086","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/b\/7b3347e6b61ddbc2b05c03d2f7c4a965.png","w":296,"h":140,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/b\/7b3347e6b61ddbc2b05c03d2f7c4a965"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/7/b/7b3347e6b61ddbc2b05c03d2f7c4a965-240.jpg" alt="603086" width="240" height="113" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 15 Jan 2011 08:30:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>oh right. I will read about the load_bitmap_font() function thanks. </p><p>the link Audric posted before has some of those bitmap files, so will try it out. </p><p>Thank you</p><p>EDIT:<br />yeah it works, perfectly with your bitmap file. But when i use the one at this link, <br /><a href="http://www.algonet.se/~guld1/fonts/002.gif">http://www.algonet.se/~guld1/fonts/002.gif</a><br />converted to bmp it crashes
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 08:34:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That gif is not the right colors. or format. The orange and pink colors are very important.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Sat, 15 Jan 2011 09:14:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried making one in photoshop, it didn&#39;t work. Do I have to have all the letters in it? It is time consuming. </p><p>I can&#39;t get the bitmap generator to have orange background and letters on pink background. </p><p>Anything I can try? Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 16:59:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606083/898804#target">Eman_321</a> said:</div><div class="quote"><p>
I can&#39;t get the bitmap generator to have orange background and letters on pink background.
</p></div></div><p>
The space between letters is supposed to be bright yellow (r,g,b)=(255,255,0) and the background for each letter is supposed to be magic pink(255,0,255). Save the file as a 24 bit bitmap. Make sure each row of letters lines up vertically - they all have to have the same height too. I don&#39;t think you have to have every character, but it should be at least 96 characters worth (of potentially empty magic pink rectangles).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 15 Jan 2011 17:09:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>96 characters!?? wow . OK  I&#39;ll give it another go. Thanks
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 17:17:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you still can&#39;t get it to work, post the image that you are using as an attachment.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sat, 15 Jan 2011 17:26:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Two side notes:
</p><ul><li><p>Fonts are subject to copyright, so if you run TTF2PCX over a font from your Windows install, and distribute it with your game, you may be violating that font&#39;s copyright. Best use a font you know to be free.
</p></li><li><p>If you use Allegro 5 with the TTF add-on enabled, you can save yourself the hassle and load TTF fonts (and a truckload of other formats) directly.
</p></li></ul></div>]]>
		</description>
		<author>no-reply@allegro.cc (Tobias Dammers)</author>
		<pubDate>Sat, 15 Jan 2011 17:38:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well it didn&#39;t crash, but I am not seeing anything on the screen at all! <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" /> <br />@Tobias thanks for the advice, I am just using this for school project, and will not be distributing it.<br /><a href="http://www.allegro.cc/files/attachment/603088">http://www.allegro.cc/files/attachment/603088</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Sat, 15 Jan 2011 19:17:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You&#39;re probably not seeing anything because you don&#39;t have the letters in the correct order. Take another look at the bitmap font I showed you earlier. <span class="source-code"><a href="http://www.allegro.cc/manual/load_bitmap_font"><span class="a">load_bitmap_font</span></a></span> reads from left to right, top to bottom. You have capital A starting in the second position when it should start in the 34th position. Also, you might want to make your magic pink rectangles slightly taller so that no letters fall off the edge. If they even load that way, they will likely be cut off so you only have a partial letter when you print it on the screen. Also, the top of each row has to have the same y value, as well as the bottom of each row. And the height of each row has to be the same.</p><p>If you wait a little bit, I&#39;ll whip up a font template maker.</p><p>Here it is :<br /><a href="http://www.allegro.cc/files/attachment/603095">FontMaker.zip</a> : source code and win32 static exe (uses Allegro 4)</p><p>From the command line, type FontMaker.exe --help or just FontMaker.exe to see the usage information. FontMaker will create a new font template with or without text, with characters any size 4x4 or greater and as .bmp, .pcx, or .tga files.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 16 Jan 2011 15:51:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sorry for the long reply, I&#39;m a little sick <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" /> <br />Thanks for the software and the advice. I will use the bitmap font and the software as a template. <br />I hope I am successful this time. <br />Thanks man.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Mon, 17 Jan 2011 02:33:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Good luck. Let us know how it goes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 17 Jan 2011 08:47:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, yeah that FontMaker software is handy. Is it possible to change the default font? <br />I will try with PS (I am terrible using that software).. and see what happens
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Mon, 17 Jan 2011 19:07:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/606083/899083#target">Eman_321</a> said:</div><div class="quote"><p>
Is it possible to change the default font? 
</p></div></div><p>
Not at this time, no. I suppose I could add an option to load a bitmap font from a file and use that as the font, but it would only be good for resizing a font, although that might be handy. You could do the same thing within your program though, by calling CreateFontBitmap and specifying a different font, and then saving the resulting bitmap.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Mon, 17 Jan 2011 19:24:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>oh my G! you developed FontMaker ? <br />Wow, very cool!</p><p>CreateFontBitmap() doesn&#39;t appear to be an allegro function..so I am not sure what you mean..
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Eman_321)</author>
		<pubDate>Mon, 17 Jan 2011 20:03:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Look at the source code that came with FontMaker, CreateFontBitmap is a function I wrote. Feel free to copy it out and use it in your projects. MIT license, if any.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 18 Jan 2011 07:59:19 +0000</pubDate>
	</item>
</rss>
