<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Garrett Bluma &#187; text replacement</title>
	<atom:link href="http://garrettbluma.com/tag/text-replacement/feed/" rel="self" type="application/rss+xml" />
	<link>http://garrettbluma.com</link>
	<description>Web Developer</description>
	<lastBuildDate>Mon, 21 May 2012 08:37:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using Cufon for Text Replacement</title>
		<link>http://garrettbluma.com/2009/04/03/using-cufon-for-text-replacement/</link>
		<comments>http://garrettbluma.com/2009/04/03/using-cufon-for-text-replacement/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 03:37:12 +0000</pubDate>
		<dc:creator>Garrett Bluma</dc:creator>
				<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[text replacement]]></category>

		<guid isPermaLink="false">http://www.garrettbluma.com/?p=56</guid>
		<description><![CDATA[A basic example of how to use cufon for font replacement.]]></description>
			<content:encoded><![CDATA[<p>Up until a few days ago I didn't realize that you could use canvas tags for text-replacment, but then I read this article.</p>
<p><a href="http://kilianvalkhof.com/2009/javascript/cufon-vs-typefacejs-which-one-is-better/">http://kilianvalkhof.com/2009/javascript/cufon-vs-typefacejs-which-one-is-better/</a></p>
<p>Since reading about this article I've want to play with Cufón to see how it stacks up. Here's a little example for you.</p>
<h1 id="cufon_example">Using Cufón for Text Replacement, an Example</h1>
<p>and the source (<tt>SF_Foxboro_Script_400.font.js</tt> generated at <a href="http://cufon.shoqolate.com/generate/">http://cufon.shoqolate.com/generate/</a> ):</p>
<pre>&lt;script src="http://cufon.shoqolate.com/js/cufon-yui.js"
    type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="/code/cufon/SF_Foxboro_Script_400.font.js"
    type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;&lt;!--
    Cufon.replace('h1');
// --&gt;&lt;/script&gt;</pre>
<p>Not the greatest example, but it works.</p>
<p>In conclusion, I like this approach in theory. I'm still not sure if it is a "too fast to notice", so I think I'll stick to the ugly web-fonts—but I love the fact that people are stepping outside of the box and being unconventional. Props for that!</p>
<p><script src="http://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"></script> <script src="/code/cufon/SF_Foxboro_Script_400.font.js" type="text/javascript"></script></p>
<p><script type="text/javascript"><!--
    Cufon.replace( document.getElementById('cufon_example') );
// --></script></p>
]]></content:encoded>
			<wfw:commentRss>http://garrettbluma.com/2009/04/03/using-cufon-for-text-replacement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.001 seconds using memcached
Object Caching 213/218 objects using memcached

Served from: garrettbluma.com @ 2012-05-21 03:04:36 -->
