<?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>Digital Ambulation &#187; jaunty</title>
	<atom:link href="http://www.alanbriolat.co.uk/tag/jaunty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alanbriolat.co.uk</link>
	<description>Life, programming and general geekery</description>
	<lastBuildDate>Mon, 09 Jan 2012 12:07:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Enable Bitmap Fonts on Ubuntu Jaunty</title>
		<link>http://www.alanbriolat.co.uk/2009/04/enable-bitmap-fonts-on-ubuntu-jaunty/</link>
		<comments>http://www.alanbriolat.co.uk/2009/04/enable-bitmap-fonts-on-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 16:18:01 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.alanbriolat.co.uk/?p=283</guid>
		<description><![CDATA[I like to use tiny bitmap fonts like MonteCarlo for programming, but by default Ubuntu has bitmap font support turned off.  From (at least) Gutsy through to Intrepid, this method worked for enabling bitmap font support, but after installing the Jaunty beta I found this no longer works. Luckily, after a brief look in /etc/fonts, [...]]]></description>
			<content:encoded><![CDATA[<p>I like to use tiny bitmap fonts like <a href="http://www.bok.net/MonteCarlo/">MonteCarlo</a> for programming, but by default Ubuntu has bitmap font support turned off.  From (at least) Gutsy through to Intrepid, <a href="http://www.nazgum.com/2007/12/09/ubuntu-pcf-fonts/">this method</a> worked for enabling bitmap font support, but after installing the Jaunty beta I found this no longer works.</p>
<p>Luckily, after a brief look in /etc/fonts, I found that font configuration now follows the nice pattern of a conf.avail directory containing all the available configuration parts, and conf.d containing symlinks to these parts.  This makes enabling bitmap fonts even simpler now:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># &quot;Un-disable&quot; bitmap fonts</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fonts<span style="color: #000000; font-weight: bold;">/</span>conf.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">70</span>-no-bitmaps.conf
<span style="color: #666666; font-style: italic;"># Clear the font cache</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> fc-cache <span style="color: #660033;">-f</span> <span style="color: #660033;">-v</span></pre></div></div>

<p>Now you should be able to drop bitmap (i.e. PCF) fonts into ~/.fonts as you would with TTF fonts and be able to use them with no extra hassle.</p>
<p><strong>Update:</strong> Andreas asked in the comments if there was a way to do this that doesn&#8217;t require root access.  In fact there is!  If you copy <code>/etc/fonts/conf.avail/70-force-bitmaps.conf</code> to <code>~/.fonts.conf</code> then it has the same effect.  (If you already have a <code>~/.fonts.conf</code> then you&#8217;ll want to merge them together &#8211; copy everything inside <code>&lt;fontconfig&gt;...&lt;/fontconfig&gt;</code> from <code>70-force-bitmaps.conf</code> and put it just before <code>&lt;/fontconfig&gt;</code> in <code>~/.fonts.conf</code>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alanbriolat.co.uk/2009/04/enable-bitmap-fonts-on-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

