<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Generate text with transparent background</title>
	<atom:link href="http://www.999tutorials.com/php/generate-text-with-transparent-background/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/</link>
	<description>999Tutorials.com - Your Tutorial Spot</description>
	<lastBuildDate>Fri, 05 Mar 2010 07:35:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jo</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-4715</link>
		<dc:creator>jo</dc:creator>
		<pubDate>Tue, 12 Jan 2010 18:36:30 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-4715</guid>
		<description>the size line refers to fontsize twice when the secod reference should be the font not the fontsize</description>
		<content:encoded><![CDATA[<p>the size line refers to fontsize twice when the secod reference should be the font not the fontsize</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stewart</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-4669</link>
		<dc:creator>Stewart</dc:creator>
		<pubDate>Mon, 11 Jan 2010 06:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-4669</guid>
		<description>Thanks for this one. It&#039;s useful. I did notice one bug, or I believe a bug in it.

This line:

$size = imageTTFBBox($fontSize, $angle, $fontSize, $theText);

When this was as it is it didn&#039;t work but I changed it too:

$size = imageTTFBBox($fontSize, $angle, $font, $theText);

That fixed it.</description>
		<content:encoded><![CDATA[<p>Thanks for this one. It&#8217;s useful. I did notice one bug, or I believe a bug in it.</p>
<p>This line:</p>
<p>$size = imageTTFBBox($fontSize, $angle, $fontSize, $theText);</p>
<p>When this was as it is it didn&#8217;t work but I changed it too:</p>
<p>$size = imageTTFBBox($fontSize, $angle, $font, $theText);</p>
<p>That fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: daYmo</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-4587</link>
		<dc:creator>daYmo</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-4587</guid>
		<description>Hi,
Thanks very much for the tip !

For people that can&#039;t make that script working : it&#039;s normal. 

1) There is an error Line 6 : 
replace 
$size = imageTTFBBox($fontSize, $angle, $fontSize, $theText);
by 
$size = imageTTFBBox($fontSize, $angle, $font, $theText);

2) line 4 : you have to put the absolute path to your arial.ttf file :
$font            = &quot;/your_path/arial.ttf&quot;;

Regards,
Damien</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks very much for the tip !</p>
<p>For people that can&#8217;t make that script working : it&#8217;s normal. </p>
<p>1) There is an error Line 6 :<br />
replace<br />
$size = imageTTFBBox($fontSize, $angle, $fontSize, $theText);<br />
by<br />
$size = imageTTFBBox($fontSize, $angle, $font, $theText);</p>
<p>2) line 4 : you have to put the absolute path to your arial.ttf file :<br />
$font            = &#8220;/your_path/arial.ttf&#8221;;</p>
<p>Regards,<br />
Damien</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-3610</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 10 Dec 2009 14:21:21 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-3610</guid>
		<description>Guess that is because of the error on row 7. Probably you don&#039;t have the font file arial.ttf. I have not tried this code on windows, but on a linux system you usually have the fonts here: /usr/share/fonts/ or maybe in the same directory as your script.
You could try to not specify what font to use, don&#039;t know how it&#039;s handled but worth a try.</description>
		<content:encoded><![CDATA[<p>Guess that is because of the error on row 7. Probably you don&#8217;t have the font file arial.ttf. I have not tried this code on windows, but on a linux system you usually have the fonts here: /usr/share/fonts/ or maybe in the same directory as your script.<br />
You could try to not specify what font to use, don&#8217;t know how it&#8217;s handled but worth a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dzek</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-3608</link>
		<dc:creator>dzek</dc:creator>
		<pubDate>Thu, 10 Dec 2009 14:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-3608</guid>
		<description>Great! Just what I`ve been looking for ;)
Used just 4 lines of code, but its great anyway hehe.</description>
		<content:encoded><![CDATA[<p>Great! Just what I`ve been looking for <img src='http://www.999tutorials.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Used just 4 lines of code, but its great anyway hehe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-2953</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 11 Nov 2009 08:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-2953</guid>
		<description>No correct. Still don&#039;t work.

Maybe you can´t use double same parameters $fontSize in line 6.
Bud i don´t know what i must use :o)</description>
		<content:encoded><![CDATA[<p>No correct. Still don&#8217;t work.</p>
<p>Maybe you can´t use double same parameters $fontSize in line 6.<br />
Bud i don´t know what i must use <img src='http://www.999tutorials.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daithi</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-2880</link>
		<dc:creator>Daithi</dc:creator>
		<pubDate>Wed, 04 Nov 2009 09:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-2880</guid>
		<description>This code should work for anybody having difficulties

</description>
		<content:encoded><![CDATA[<p>This code should work for anybody having difficulties</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-2177</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 27 Sep 2009 12:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-2177</guid>
		<description>Thanks for pointing it out! I think I have corrected it now!</description>
		<content:encoded><![CDATA[<p>Thanks for pointing it out! I think I have corrected it now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-2112</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Wed, 23 Sep 2009 23:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-2112</guid>
		<description>you define $font on line 4 yet call for $theFont on line 6 and then call for $font on line $15...</description>
		<content:encoded><![CDATA[<p>you define $font on line 4 yet call for $theFont on line 6 and then call for $font on line $15&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.999tutorials.com/php/generate-text-with-transparent-background/comment-page-1/#comment-1182</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 11 Aug 2009 12:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://new.999tutorials.com/?p=23#comment-1182</guid>
		<description>Not really sure, but I think you should read this post: http://jamazon.co.uk/web/2008/06/04/imagettfbbox-could-not-findopen-font/</description>
		<content:encoded><![CDATA[<p>Not really sure, but I think you should read this post: <a href="http://jamazon.co.uk/web/2008/06/04/imagettfbbox-could-not-findopen-font/" rel="nofollow">http://jamazon.co.uk/web/2008/06/04/imagettfbbox-could-not-findopen-font/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
