<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro  unable to load font</title>
		<link>http://www.allegro.cc/forums/view/617730</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 03 Feb 2019 02:31:27 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I am following the tutorials for allegro 5 and running into a problem. I copied <a href="https://wiki.allegro.cc/index.php?title=Allegro_5_Tutorial/Addons/Fonts"> this code </a> from the guide, downloaded the font from the page and copied it to the folder with the executable per the page. When I run the program, I get the error the font could not be loaded. I assumed the download may have been corrupted so I googled and downloaded the font from the web and tried again. Still no luck. I tried using one of the fonts from my distro and it did not work. I checked the forums, and <a href="https://www.allegro.cc/forums/thread/617703"> this thread </a> suggests I may have a buggy version of allegro so I removed and reinstalled Allegro through package manager. Still no luck. Any ideas
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Sat, 02 Feb 2019 23:37:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>See <a href="https://en.wikipedia.org/wiki/Working_directory">Current Working Directory</a>.</p><p>You have to run the exe from the folder where it is located. CB will run it from a different directory, depending on whether or not you&#39;ve changed your project structure.</p><p>To fix this permanently, and to offer a more flexible solution, you can change the current working directory yourself using allegro 5 :</p><div class="source-code snippet"><div class="inner"><pre>ALLEGRO_PATH<span class="k3">*</span> p <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_get_standard_path"><span class="a">al_get_standard_path</span></a><span class="k2">(</span>ALLEGRO_RESOURCES_PATH<span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_change_directory"><span class="a">al_change_directory</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/al_path_cstr"><span class="a">al_path_cstr</span></a><span class="k2">(</span>p , ALLEGRO_NATIVE_PATH_SEP<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<a href="http://www.allegro.cc/manual/al_destroy_path"><span class="a">al_destroy_path</span></a><span class="k2">(</span>p<span class="k2">)</span><span class="k2">;</span>
p <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 03 Feb 2019 01:33:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Always something simple. Thanks. </p><p>Someone may want to take a look at the tutorial, this is what I get:</p><p><span class="remote-thumbnail"><span class="json">{"name":"611896","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/5\/e5ea9d6646c847bb06e84e0f39672f54.png","w":1366,"h":768,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/5\/e5ea9d6646c847bb06e84e0f39672f54"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/e/5/e5ea9d6646c847bb06e84e0f39672f54-240.jpg" alt="611896" width="240" height="134" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob Keane)</author>
		<pubDate>Sun, 03 Feb 2019 02:31:27 +0000</pubDate>
	</item>
</rss>
