<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>joey nelson &#187; ubuntu</title>
	<atom:link href="http://jnjnjn.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://jnjnjn.com</link>
	<description></description>
	<lastBuildDate>Mon, 02 Aug 2010 13:11:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GD TTF PCDTR in PHP</title>
		<link>http://jnjnjn.com/23/gd-ttf-pcdtr-in-php/</link>
		<comments>http://jnjnjn.com/23/gd-ttf-pcdtr-in-php/#comments</comments>
		<pubDate>Sun, 08 Oct 2006 23:55:11 +0000</pubDate>
		<dc:creator>joey</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bloop.org/joey/2006/10/08/gd-ttf-pcdtr-in-php/</guid>
		<description><![CDATA[I&#8217;d been having a lot of trouble getting my Ubuntu machine to render TTFs with GD in PHP.  So much trouble that I&#8217;d even tried crazy things like recompiling PHP.  Luckily I found this post on excitris.com and I was able to solve all of my problems with one line of code.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d been having a lot of trouble getting my Ubuntu machine to render TTFs with GD in PHP.  So much trouble that I&#8217;d even tried crazy things like recompiling PHP.  Luckily I found <a href="http://www.excitris.com/2005/12/13/168/">this post</a> on excitris.com and I was able to solve all of my problems with one line of code.  Since the code on their site is completely mangled, here it is:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #888888;">putenv</span><span style="color: #bbbbbb;">&#40;</span><span style="color: #888888; background-color: #fbf6c5;">'GDFONTPATH='</span> . <span style="color: #888888;">realpath</span><span style="color: #bbbbbb;">&#40;</span><span style="color: #888888; background-color: #fbf6c5;">'.'</span><span style="color: #bbbbbb;">&#41;</span><span style="color: #bbbbbb;">&#41;</span>;</pre></div></div>

<p>Now I can use dynamic text replacement without going insane.</p>
]]></content:encoded>
			<wfw:commentRss>http://jnjnjn.com/23/gd-ttf-pcdtr-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
