<?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>K-Squared Ramblings &#187; fonts</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/fonts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>@font-face Crashes Firefox on Fedora</title>
		<link>http://www.hyperborea.org/journal/2009/07/font-face-crash/</link>
		<comments>http://www.hyperborea.org/journal/2009/07/font-face-crash/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 06:30:00 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[Fedora11]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2009/07/05/line-items-for-2009-07-05/</guid>
		<description><![CDATA[With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on Speed Force. Cross-platform @font-face embedding in CSS is now possible on Firefox, Safari, the beta version of &#8230; <a href="http://www.hyperborea.org/journal/2009/07/font-face-crash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>With the release of Firefox 3.5, I decided it was finally time to get serious about setting up a custom headline font on <a href="http://speedforce.org/">Speed Force</a>.  Cross-platform <a href="http://www.css3.info/preview/web-fonts-with-font-face/">@font-face</a> embedding in CSS is now possible on Firefox, Safari, the beta version of Opera, and (I think) Chrome. So I pulled out some bookmarks, looked for some fonts with licenses that allowed embedding, messed around with a test page and finally settled on two custom fonts: one for the post headlines, and one for the title and the sidebar section headers.</p>
<p>I tested it in a couple of browsers, both on my Linux desktop and on the Mac laptop, and planned to test it on the Windows desktop when Katie was done with it.  But then something weird started happening.</p>
<p>Firefox started crashing. Repeatedly.  Not quite predictably, but only when that test page was open.</p>
<p>I figured maybe it was a corrupted font, so I removed one, then the other, then both.  If the page tried to download an embedded font, Firefox would eventually crash.  If not, it was rock solid.</p>
<p>This seemed kind of bizarre for such a high-profile new feature to cause consistent crashing.</p>
<p>I did some searches online but didn&#8217;t come up with anything until I tried running Firefox from the command-line, so that I could read the error message.  It complained, <code>"firefox: cairo-ft-font.c:554: _cairo_ft_unscaled_font_lock_face: Assertion `!unscaled->from_face' failed."</code>  Searching for <em>that</em> led me to <a href="https://bugzilla.redhat.com/show_bug.cgi?id=509501">Fedora bug 509501</a> and <a href="https://bugzilla.redhat.com/show_bug.cgi?id=502274">bug 502274</a>, and this <a href="http://blog.bfccomputing.com/articles/2009/05/28/firefox-crashes-on-fedora-11">blog entry</a>.</p>
<p>To make a long story short:</p>
<ul>
<li>On Linux, Firefox uses a library called <strong>cairo</strong> to handle graphics, including fonts.</li>
<li>An old version of cairo had a bug that would cause crashes with fonts under certain circumstances.</li>
<li>Cairo fixed the bug in December.</li>
<li>Fedora 11 is still using the old version of cairo.</li>
</ul>
<p>So until Fedora ships a newer (or at least patched) version of cairo, my primary browser on my primary desktop will crash on any web page with an embedded font.</p>
<p>Nice.</p>
<p>I guess I could patch my own system for now and put the fonts up for the benefit of the rest of the Firefox+Safari+Opera-using audience on Windows and Macs (and probably other Linux distributions).  But that means causing a crash for anyone else running Fedora 11 when they visit my site.  I&#8217;m not too thrilled about that idea.  I have no problem with adding enhancements that only appear under certain browser+os combinations, but actively crashing a browser? Not something I want to do.</p>
<p><b>Update (July 21):</b> Aha! Fedora <a href="https://admin.fedoraproject.org/updates/cairo-1.8.8-1.fc11">submitted an updated cairo</a> for inclusion in the stable release last night!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2009/07/font-face-crash/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Links: Fonts, Headline Tips, Geocities &amp; Swine Flu</title>
		<link>http://www.hyperborea.org/journal/2009/04/headlines-flu-geocities/</link>
		<comments>http://www.hyperborea.org/journal/2009/04/headlines-flu-geocities/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 06:31:03 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Computers/Internet]]></category>
		<category><![CDATA[flu]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[GeoCities]]></category>
		<category><![CDATA[linkblogging]]></category>
		<category><![CDATA[linkrot]]></category>
		<category><![CDATA[Tweets]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=7056</guid>
		<description><![CDATA[Up way too late browsing 1001freefonts.com (It&#8217;s exactly what it says on the tin. Give or take.) # Best headlines: learn from the BBC. # Ambitious, crazy, or both? Backing up Geocities: Lessons so far. # Sad, but true: XKCD &#8230; <a href="http://www.hyperborea.org/journal/2009/04/headlines-flu-geocities/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>Up way too late browsing <a href="http://www.1001freefonts.com/">1001freefonts.com</a> (It&#8217;s exactly what it says on the tin. Give or take.) <a href="http://twitter.com/KelsonV/statuses/1627149262" class="aktt_tweet_time">#</a></li>
<li>Best headlines: <a href="http://www.useit.com/alertbox/headlines-bbc.html">learn from the BBC</a>. <a href="http://twitter.com/KelsonV/statuses/1630738112" class="aktt_tweet_time">#</a></li>
<li>Ambitious, crazy, or both? <a href="http://ascii.textfiles.com/archives/1961">Backing up Geocities: Lessons so far</a>. <a href="http://twitter.com/KelsonV/statuses/1634141142" class="aktt_tweet_time">#</a></li>
<li>Sad, but true: <a href="http://xkcd.com/574/">XKCD tackles the social component</a> of <a href="http://search.twitter.com/search?q=swine+flu">swine flu</a>. <a href="http://twitter.com/KelsonV/statuses/1634254084" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2009/04/headlines-flu-geocities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watching Helvetica</title>
		<link>http://www.hyperborea.org/journal/2009/01/watching-helvetica/</link>
		<comments>http://www.hyperborea.org/journal/2009/01/watching-helvetica/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 07:00:16 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Helvetica]]></category>
		<category><![CDATA[Tweets]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/?p=6939</guid>
		<description><![CDATA[Some thoughts on watching Helvetica, a documentary about the typeface: Nice quote: &#8220;You have to breathe, so you have to use Helvetica.&#8221; # Interesting theme: journey of Helvetica from idealist design to boring routine. Kind of like how vanilla went &#8230; <a href="http://www.hyperborea.org/journal/2009/01/watching-helvetica/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some thoughts on watching <a href="http://www.imdb.com/title/tt0847817/"><i>Helvetica</i></a>, a documentary about the typeface:</p>
<ul class="aktt_tweet_digest">
<li>Nice quote: &#8220;You have to breathe, so you have to use Helvetica.&#8221; <a href="http://twitter.com/KelsonV/statuses/1094626081" class="aktt_tweet_time">#</a></li>
<li>Interesting theme: journey of Helvetica from idealist design to boring routine. Kind of like how vanilla went from an exotic flavor to a synonym for plain. <a href="http://twitter.com/KelsonV/statuses/1094638996" class="aktt_tweet_time">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2009/01/watching-helvetica/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

