<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; php - Поддержка ttf]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=2282&amp;type=atom" />
	<updated>2011-07-26T16:37:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=2282</id>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17097#p17097" />
			<content type="html"><![CDATA[<p>Посмотрите ошибки в логах веб-сервера. Я пока не знаю чем еще можно помочь.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2011-07-26T16:37:56Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17097#p17097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17094#p17094" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Sergius]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3664</uri>
			</author>
			<updated>2011-07-26T09:27:22Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17094#p17094</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17084#p17084" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2011-07-25T06:12:28Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17084#p17084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17082#p17082" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Sergius]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3664</uri>
			</author>
			<updated>2011-07-24T22:02:00Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17082#p17082</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17081#p17081" />
			<content type="html"><![CDATA[<p>Посмотрите в phpinfo(), в разделе GD включен ли FreeType Support. Если выключен, надо смотреть php.ini.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2011-07-24T20:57:32Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17081#p17081</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17076#p17076" />
			<content type="html"><![CDATA[<p>...&nbsp; <img src="https://forum.php-myadmin.ru/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></content>
			<author>
				<name><![CDATA[Sergius]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3664</uri>
			</author>
			<updated>2011-07-24T08:30:01Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17076#p17076</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[php - Поддержка ttf]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=17063#p17063" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Sergius]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3664</uri>
			</author>
			<updated>2011-07-22T14:46:13Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=17063#p17063</id>
		</entry>
</feed>
