<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>al_load_bitmap</title>
		<link>http://www.allegro.cc/forums/view/615689</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 28 Aug 2015 09:47:46 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hello everyone.</p><p>How to create bitmap with font for allegro?<br />I tried FontEditor (from here), but it displays black box instead of characters. FontBuilder export image with description (xml)... I tried even Bitmap Font Generator (.fnt... ARGH...), and Irrlicht Font Maker (draw dots in bitmap)...<br />I know that I can load TTF/OTF..., but I&#39;m interested in bitmap fonts.</p><p>Thanks in advance.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CodeStepper)</author>
		<pubDate>Thu, 27 Aug 2015 21:09:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You need to link and initialize the font addon, then use <span class="source-code"><a href="http://www.allegro.cc/manual/al_grab_font_from_bitmap"><span class="a">al_grab_font_from_bitmap</span></a><span class="k2">(</span><span class="k2">)</span></span><br />to load a bitmap to a font. Look at the documentation of this function to learn about the required format.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Thu, 27 Aug 2015 21:26:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm... I know...<br />I mean... not how to LOAD. I mean how to CREATE/PREPARE bitmap. For example with selected ttf/otf font.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CodeStepper)</author>
		<pubDate>Thu, 27 Aug 2015 22:46:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>You could make the font bitmap with any image editor or image tool you like, as long as the format is correct. Basically, the background (transparent) color is at the top left hand corner ((0,0) coordinates) of the bitmap, and every glyph needs a rectangular border of that color around it. Look at this thread for a few example bitmap fonts that can be used together with Allegro: </p><p><a href="https://www.allegro.cc/forums/thread/610576">https://www.allegro.cc/forums/thread/610576</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (beoran)</author>
		<pubDate>Fri, 28 Aug 2015 03:43:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks, that&#39;s what I mean!<br /><img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CodeStepper)</author>
		<pubDate>Fri, 28 Aug 2015 09:47:46 +0000</pubDate>
	</item>
</rss>
