<?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>Thu, 23 May 2013 14:49:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Michael Maclean's Blog: Handling fonts in PECL/Cairo]]></title>
      <guid>http://www.phpdeveloper.org/news/14116</guid>
      <link>http://www.phpdeveloper.org/news/14116</link>
      <description><![CDATA[<p>
<i>Michael Maclean</i> has a look at <a href="http://mgdm.net/weblog/handling-fonts-in-peclcairo">working with fonts in Cairo</a> (a graphics manipulation extension in the <a href="http://pecl.php.net/package/cairo">PECL repository</a>). The example will be added to the PHP manual too in case you need it for reference later.
</p>
<blockquote>
Currently, in PECL/Cairo the only way to draw text is the referred to as the "toy" text API, which is a very basic way of handling text compared to the facilities available in the Cairo library itself. However, it's sufficient for most purposes that I've come across so far. 
</blockquote>
<p>
With the first versions of the Cairo extension, you had to use the <a href="http://www.php.net/manual/en/cairocontext.selectfontface.php">selectFontFace</a> method to choose the font you wanted. With the introduction of Cairo 0.2.0, you can now use FreeType font support instead and can use the streams API built into PHP to locate the resource. A snippet of code is included to show how that would work.
</p>]]></description>
      <pubDate>Tue, 02 Mar 2010 12:42:43 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: How To Use Any Font You Wish with FLIR]]></title>
      <guid>http://www.phpdeveloper.org/news/10859</guid>
      <link>http://www.phpdeveloper.org/news/10859</link>
      <description><![CDATA[<p>
NETTUTS.com recently posted <a href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/">a handy tutorial</a> for those wanting to use the font of their choice on their site <a href="http://nettuts.com/javascript-ajax/how-to-implement-sifr3-into-your-website/">using sIFR3</a>.
</p>
<blockquote>
Last week, Philo showed you <a href="http://nettuts.com/javascript-ajax/how-to-implement-sifr3-into-your-website/">how to implement sIFR3</a>. This time, I'm going to show you how to implement Facelift Image Replacement (or FLIR), an alternative to sIFR that does not require Flash.
</blockquote>
<p>
This <a href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/">second part</a> shows you how to install/setup the tool, configure it correctly for your setup and includes some of the pros and cons of using the software.
</p>]]></description>
      <pubDate>Tue, 19 Aug 2008 15:29:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Creating buttons with Imagick]]></title>
      <guid>http://www.phpdeveloper.org/news/9096</guid>
      <link>http://www.phpdeveloper.org/news/9096</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has another quick new tutorial on using Imagick in your applications - this time it's about <a href="http://valokuva.org/?p=84">making buttons</a> dynamically.
</p>
<blockquote>
The button in this example is created after this tutorial <a href="http://xeonfx.com/tutorials/easy-button-tutorial/">http://xeonfx.com/tutorials/easy-button-tutorial/</a> (yes, I googled "easy button tutorial"). The code and the button it creates are both very simple but the effect looks really nice.
</blockquote>
<p>
The example code creates a simple round button with a fill color and white text. Their examples show a red, green and blue buttons.
</p>]]></description>
      <pubDate>Thu, 22 Nov 2007 17:05:50 -0600</pubDate>
    </item>
  </channel>
</rss>
