<?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>esdrasbeleza.com &#187; X11</title>
	<atom:link href="http://www.esdrasbeleza.com/tag/x11/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esdrasbeleza.com</link>
	<description>Só mais um blog do WordPress</description>
	<lastBuildDate>Fri, 13 Jan 2012 14:14:19 +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>How to fix ugly fonts in Qt-based applications</title>
		<link>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/</link>
		<comments>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/#comments</comments>
		<pubDate>Thu, 20 May 2010 17:30:48 +0000</pubDate>
		<dc:creator>Esdras Beleza</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Qt Creator]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.esdrasbeleza.com/?p=153</guid>
		<description><![CDATA[I was using Qt Creator and tried to change the editor&#8217;s font to Monaco, 9. But hey, Monaco is not that ugly: So I googled a way to fix for this problem, and found the fix at Arch Linux forums. You&#8217;ll need to create a file called .fonts.conf in your home directory with this content: I [...]]]></description>
			<content:encoded><![CDATA[<p>I was using Qt Creator and tried to change the editor&#8217;s font to <a href="http://en.wikipedia.org/wiki/Monaco_(typeface)">Monaco, 9</a>. But hey, Monaco is not that ugly:</p>
<p><img class="aligncenter size-full wp-image-154" title="Monaco before fix" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/monaco-qt-before.png" alt="Monaco before fix" width="150" height="150" /></p>
<p>So I googled a way to fix for this problem, and found the fix at <a href="http://bbs.archlinux.org/viewtopic.php?pid=705548#p705548">Arch Linux forums</a>. You&#8217;ll need to create a file called <em>.fonts.conf</em> in your home directory with this content:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;rgba&quot; &gt;
         &lt;const&gt;rgb&lt;/const&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;hinting&quot; &gt;
         &lt;bool&gt;true&lt;/bool&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;hintstyle&quot; &gt;
         &lt;const&gt;hintslight&lt;/const&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
   &lt;match target=&quot;font&quot; &gt;
      &lt;edit mode=&quot;assign&quot; name=&quot;antialias&quot; &gt;
         &lt;bool&gt;true&lt;/bool&gt;
      &lt;/edit&gt;
   &lt;/match&gt;
&lt;/fontconfig&gt;
</pre>
<p>I closed Qt Creator and reopened it. The result was this:</p>
<p><img class="aligncenter size-full wp-image-156" title="Monaco after fix" src="http://www.esdrasbeleza.com/wp-content/uploads/2010/05/monaco-qt-after.png" alt="Monaco after fix" width="150" height="150" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.esdrasbeleza.com/2010/05/20/how-to-fix-ugly-fonts-in-qt-based-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.298 seconds -->

