<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум PHP-MyAdmin.RU &mdash; php - Поддержка ttf]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=2282</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=2282&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «php - Поддержка ttf».]]></description>
		<lastBuildDate>Tue, 26 Jul 2011 16:37:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17097#p17097</link>
			<description><![CDATA[<p>Посмотрите ошибки в логах веб-сервера. Я пока не знаю чем еще можно помочь.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Tue, 26 Jul 2011 16:37:56 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17097#p17097</guid>
		</item>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17094#p17094</link>
			<description><![CDATA[<p>Мониторинг этот достал уже!<br />Нет сил уже его до ума доводить!</p><p>Делаем его уже несколько дней, по мере своих возможностей.<br />На OC - Windows было всё хорошо, как перенёс всё на Ubuntu Linux, косяк только с мониторингом.</p><p>А результат на лицо.<br />Вот как у меня: <a href="http://saveimg.ru/pictures/26-07-11/f3ba0d2f79ab4086471441488be09785.png">http://saveimg.ru/pictures/26-07-11/f3b … e09785.png</a></p><p>А должно быть нормально: (Пример.) <a href="http://saveimg.ru/pictures/26-07-11/aa0c35fb692ee8c5ae5799bbcab836b7.png">http://saveimg.ru/pictures/26-07-11/aa0 … b836b7.png</a><br />Просто нету информации на баннере!</p><p>Ещё удивил тот факт что пришлось править один файл руками, иными словами на OC - Windows править не нужно было, а на Ubuntu Linux уже пришлось править!<br /></p><div class="quotebox"><blockquote><p>&lt;textarea style=&#039;width: 500px; height: 40px;&#039;&gt;</p><p>[url=http://&quot;.$_SERVER[&#039;SERVER_NAME&#039;].&quot;/games-monitoring/index.php?s=&quot;.$_GET[&#039;s&#039;].&quot;]<span class="postimg"><img src="http://&quot;.$_SERVER[&#039;SERVER_NAME&#039;].&quot;/games-monitoring/lgsl_files/sig_&quot;.$_GET[&#039;s&#039;].&quot;_1.png" alt="http://&amp;quot;.$_SERVER[&amp;#039;SERVER_NAME&amp;#039;].&amp;quot;/games-monitoring/lgsl_files/sig_&amp;quot;.$_GET[&amp;#039;s&amp;#039;].&amp;quot;_1.png" /></span>[/url]</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/textarea&gt;</p></blockquote></div><p>Хотя должно быть как положено!<br /></p><div class="quotebox"><blockquote><p>&lt;textarea style=&#039;width: 500px; height: 40px;&#039;&gt;</p><p>[url=http://&quot;.$_SERVER[&#039;SERVER_NAME&#039;].&quot;/index.php?s=&quot;.$_GET[&#039;s&#039;].&quot;]<span class="postimg"><img src="http://&quot;.$_SERVER[&#039;SERVER_NAME&#039;].&quot;/lgsl_files/sig_&quot;.$_GET[&#039;s&#039;].&quot;_1.png" alt="http://&amp;quot;.$_SERVER[&amp;#039;SERVER_NAME&amp;#039;].&amp;quot;/lgsl_files/sig_&amp;quot;.$_GET[&amp;#039;s&amp;#039;].&amp;quot;_1.png" /></span>[/url]</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/textarea&gt;</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Sergius)]]></author>
			<pubDate>Tue, 26 Jul 2011 09:27:22 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17094#p17094</guid>
		</item>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17084#p17084</link>
			<description><![CDATA[<div class="quotebox"><cite>Sergius сказал:</cite><blockquote><p>Включён!</p></blockquote></div><p>Значит должно работать. А как вы проверяете работоспособность, каким скриптом?</p><p>На этой странице есть хороший пример:<br /><a href="http://lv.php.net/manual/en/function.imagettftext.php">imagettftext</a><br /></p><div class="codebox"><pre><code>&lt;?php
// Set the content-type
header(&#039;Content-Type: image/png&#039;);

// Create the image
$im = imagecreatetruecolor(400, 30);

// Create some colors
$white = imagecolorallocate($im, 255, 255, 255);
$grey = imagecolorallocate($im, 128, 128, 128);
$black = imagecolorallocate($im, 0, 0, 0);
imagefilledrectangle($im, 0, 0, 399, 29, $white);

// The text to draw
$text = &#039;Testing...&#039;;
// Replace path by your own font path
$font = &#039;arial.ttf&#039;;

// Add some shadow to the text
imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);

// Add the text
imagettftext($im, 20, 0, 10, 20, $black, $font, $text);

// Using imagepng() results in clearer text compared with imagejpeg()
imagepng($im);
imagedestroy($im);
?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Mon, 25 Jul 2011 06:12:28 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17084#p17084</guid>
		</item>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17082#p17082</link>
			<description><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Посмотрите в phpinfo(), в разделе GD включен ли FreeType Support. Если выключен, надо смотреть php.ini.</p></blockquote></div><p>Включён!<br />FreeType Support &nbsp; &nbsp; enabled</p>]]></description>
			<author><![CDATA[null@example.com (Sergius)]]></author>
			<pubDate>Sun, 24 Jul 2011 22:02:00 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17082#p17082</guid>
		</item>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17081#p17081</link>
			<description><![CDATA[<p>Посмотрите в phpinfo(), в разделе GD включен ли FreeType Support. Если выключен, надо смотреть php.ini.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Sun, 24 Jul 2011 20:57:32 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17081#p17081</guid>
		</item>
		<item>
			<title><![CDATA[Re: php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17076#p17076</link>
			<description><![CDATA[<p>...&nbsp; <img src="https://forum.php-myadmin.ru/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (Sergius)]]></author>
			<pubDate>Sun, 24 Jul 2011 08:30:01 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17076#p17076</guid>
		</item>
		<item>
			<title><![CDATA[php - Поддержка ttf]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=17063#p17063</link>
			<description><![CDATA[<p>Всем привет!</p><p>Такая проблема, Система Ubuntu 11.04, PHP Version 5.3.5-1ubuntu7.2<br />Подскажите как добавить поддержку ttf не пересобирая php вручную?<br />Т.е (как включить поддержку ttf в gd библиотеке для PHP)</p><p>Мод rewrite подключён, GD тоже работает!</p>]]></description>
			<author><![CDATA[null@example.com (Sergius)]]></author>
			<pubDate>Fri, 22 Jul 2011 14:46:13 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=17063#p17063</guid>
		</item>
	</channel>
</rss>
