<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Default Allegro Font</title>
		<link>http://www.allegro.cc/forums/view/608325</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 16 Sep 2011 02:47:26 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey guys, I searched on the forums first but there were a lot of results about fonts in Allegro.</p><p>I&#39;m looking for the font Allegro uses when there&#39;s no other font specified -- the pixel-ly one? Where would I find it? I wanted to be able to use it in Photoshop for graphics testing.</p><p>Or would that be weird with the set height?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Felix-The-Ghost)</author>
		<pubDate>Tue, 13 Sep 2011 08:17:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s in src/font.c.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 13 Sep 2011 08:23:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Is there a font file I can install to use in Photoshop?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Felix-The-Ghost)</author>
		<pubDate>Tue, 13 Sep 2011 09:31:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s a hardcoded, fixed bitmap font. It wouldn&#39;t even scale.</p><p>Just search the Googlewebs for any old school fixed width font if you want an equivalent.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 13 Sep 2011 10:28:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>From what I remember it&#39;s actually just the 8x8 CGA ROM/BIOS font. Shawn simply ripped it from his computer. Google images seems to confirm:</p><p>BIOS font: <span class="remote-thumbnail"><span class="json">{"name":"olicga.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/a\/9a4fda9c9f943aac7dc080c252b33a42.png","w":256,"h":128,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/a\/9a4fda9c9f943aac7dc080c252b33a42"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/9/a/9a4fda9c9f943aac7dc080c252b33a42-240.jpg" alt="olicga.png" width="240" height="120" /></span></p><p>A4 font: <span class="remote-thumbnail"><span class="json">{"name":"a4_font.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/b\/2b18edf383ebca99589c900f3968c605.png","w":257,"h":321,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/b\/2b18edf383ebca99589c900f3968c605"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/2/b/2b18edf383ebca99589c900f3968c605-240.jpg" alt="a4_font.png" width="240" height="299" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Tue, 13 Sep 2011 15:59:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t care if it scales, I just wanted to be able to type something and get a picture of that. I guess maybe I could just write a program for that. Or continue just taking screenshots :/ I just thought it&#39;d be cool to be able to type it directly where I was editing it (Photoshop)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Felix-The-Ghost)</author>
		<pubDate>Wed, 14 Sep 2011 23:31:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Or you could do as Matthew suggested and get results like <a href="http://www.zone38.net/font/#pcsenior">this</a> in a couple of minutes.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Surt)</author>
		<pubDate>Thu, 15 Sep 2011 08:02:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d bet money you could grab your own computer BIOS font in a few minutes with a DOS compiler, DOSBOX and Ralf Brown&#39;s info on memory locations.</p><p>[EDIT]</p><p>I&#39;m gonna do that right now, time me for the revision time.</p><p>Aw, heck, I decided to use tcc and it wouldn&#39;t allow inline asm, and bc4 refused to run tlink so I gave up, anyway this should print it to the console, a redirect would work to save it to a file.</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span><span class="p">#include &lt;stdio.h&gt;</span>
<span class="number">  2</span>
<span class="number">  3</span><span class="k1">char</span> <a href="http://www.allegro.cc/manual/font"><span class="a">font</span></a><span class="k2">[</span><span class="n">8</span><span class="k3">*</span><span class="n">256</span><span class="k2">]</span><span class="k2">;</span> <span class="c">/*  8 bytes, the width is bits per byte */</span>
<span class="number">  4</span>
<span class="number">  5</span><span class="k1">int</span> main<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span>
<span class="number">  6</span><span class="k2">{</span>
<span class="number">  7</span>  <span class="k1">int</span> i,j,mask<span class="k2">;</span>
<span class="number">  8</span>  <span class="k1">asm</span>
<span class="number">  9</span>  <span class="k2">{</span>
<span class="number"> 10</span>    mov ax,<span class="n">1130</span>h
<span class="number"> 11</span>    mov bh,<span class="n">3</span>
<span class="number"> 12</span>    <span class="k1">int</span> <span class="n">10</span>h
<span class="number"> 13</span>    push ds
<span class="number"> 14</span>    push es
<span class="number"> 15</span>    push ds
<span class="number"> 16</span>    push es
<span class="number"> 17</span>    pop ds
<span class="number"> 18</span>    pop es
<span class="number"> 19</span>    mov di,offset <a href="http://www.allegro.cc/manual/font"><span class="a">font</span></a>
<span class="number"> 20</span>    mov si,bp
<span class="number"> 21</span>    mov cx,<span class="n">256</span>
<span class="number"> 22</span>    rep movsb
<span class="number"> 23</span>    pop es
<span class="number"> 24</span>    pop ds
<span class="number"> 25</span>  <span class="k2">}</span>
<span class="number"> 26</span>  <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a><span class="k2">(</span><span class="s">"\nint font8x8 {\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 27</span>  <span class="k1">for</span><span class="k2">(</span>i<span class="k3">=</span><span class="n">0</span><span class="k2">;</span>i<span class="k3">&lt;</span><span class="n">256</span><span class="k2">;</span>i<span class="k3">+</span><span class="k3">=</span><span class="n">8</span><span class="k2">)</span>
<span class="number"> 28</span>  <span class="k2">{</span>
<span class="number"> 29</span>     <span class="k1">for</span><span class="k2">(</span>j<span class="k3">=</span><span class="n">0</span><span class="k2">;</span>j<span class="k3">&lt;</span><span class="n">8</span><span class="k2">;</span>j<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 30</span>     <span class="k2">{</span>
<span class="number"> 31</span>      <span class="k1">int</span> k<span class="k2">;</span>
<span class="number"> 32</span>      k <span class="k3">=</span> i <span class="k3">+</span> j<span class="k2">;</span>
<span class="number"> 33</span>      <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a><span class="k2">(</span><span class="s">"%d, "</span>,<a href="http://www.allegro.cc/manual/font"><span class="a">font</span></a><span class="k2">[</span>k<span class="k2">]</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 34</span>     <span class="k2">}</span>
<span class="number"> 35</span>     <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a><span class="k2">(</span><span class="s">"\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 36</span>  <span class="k2">}</span>
<span class="number"> 37</span>  <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a><span class="k2">(</span><span class="s">"\n};\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 38</span>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 39</span><span class="k2">}</span>
</div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 15 Sep 2011 13:29:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t think you are allowed to call interrupts on most modern systems.</p><p>edit: Nevermind, just tried in debug. On windows it seems to work.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (l j)</author>
		<pubDate>Thu, 15 Sep 2011 22:30:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>That&#39;s why I specified using DOSBOX.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 15 Sep 2011 22:31:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Does DJGPP work in DOSBOX? You could always try that.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amber)</author>
		<pubDate>Fri, 16 Sep 2011 02:44:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t want to re-educate myself with mydosptr (?) and all that crap for a show off demo.  I should have kept my mouth shut.</p><p>Maybe if I copy the bc4 stuff to a proper temporary directory and set the environment correctly it&#39;d work.  But I&#39;m too lazy.</p><p>[EDIT]</p><p>Well I tried it anyway, and the exe prints some stuff and hangs, then crashes DOSBOX.<br />I tried redirecting to a file, but it&#39;s just 0 bytes long.  I gotta go visit somebody now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Fri, 16 Sep 2011 02:47:26 +0000</pubDate>
	</item>
</rss>
