<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 12:12:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Michael Maclean's Blog: Using Pango for PHP: a taster]]></title>
      <guid>http://www.phpdeveloper.org/news/15943</guid>
      <link>http://www.phpdeveloper.org/news/15943</link>
      <description><![CDATA[<p>
<i>Michael Maclean</i> has a new article today talking about the <a href="http://pango.org/">Pango</a> graphics library and how it can be coupled with the <a href="http://pecl.php.net/package/cairo">Cairo PECL extension</a> to more easily create better looking text in dynamic images.
</p>
<blockquote>
The <a href="http://pecl.php.net/package/cairo">PECL/Cairo</a> library is pretty good at drawing vector graphics (in our opinion, as the developers, at least!), but one thing it's not able to do by itself is draw text with mildly advanced layout. [...] That's because the developers of the Cairo library decided to let another more specialised library handle the job of text layout.
</blockquote>
<p>
<i>Michael</i> has created <a href="https://github.com/mgdm/php-pango">a wrapper</a> for Pango in PHP (github) and some sample code that can be used as a test to ensure it's all setup and working. He steps through each part of the image creation and describes what's happening and what each method is doing along the way.
</p>]]></description>
      <pubDate>Tue, 22 Feb 2011 12:58:27 -0600</pubDate>
    </item>
  </channel>
</rss>
