<?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>Kev009.com &#187; xorg</title>
	<atom:link href="http://www.kev009.com/wp/tag/xorg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kev009.com/wp</link>
	<description>Speed and Accuracy are fine, kev009 is final: Projects and Ventures of Kevin Bowling</description>
	<lastBuildDate>Thu, 19 Jan 2012 03:18:08 +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>Getting Beautiful Fonts in Gentoo Linux</title>
		<link>http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/</link>
		<comments>http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 08:29:27 +0000</pubDate>
		<dc:creator>kev009</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fontconfig]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[subpixel hinting]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.kev009.com/wp/?p=399</guid>
		<description><![CDATA[Here&#8217;s my easy and modern guide to getting pleasant looking fonts on Gentoo with minimal effort. USE Flags Enable the following USE flags: euse --enable truetype type1 cleartype corefonts and make sure everything is built with them enabled: emerge -uDNa &#8230; <a href="http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s my easy and modern guide to getting pleasant looking fonts on Gentoo with minimal effort.</p>
<div id="attachment_403" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.kev009.com/wp/wp-content/uploads/2009/12/wikipedia-fonts.png"><img class="size-medium wp-image-403" title="wikipedia-fonts" src="http://www.kev009.com/wp/wp-content/uploads/2009/12/wikipedia-fonts-300x298.png" alt="Wikipedia rendered with the end result of this guide" width="300" height="298" /></a><p class="wp-caption-text">Wikipedia rendered with the end result of this guide</p></div>
<h3>USE Flags</h3>
<p>Enable the following USE flags:</p>
<pre>euse --enable truetype type1 cleartype corefonts</pre>
<p>and make sure everything is built with them enabled:</p>
<pre>emerge -uDNa world</pre>
<h3>Emerge Fonts</h3>
<p>X.org and other apps should pull in some common fonts.  Here are some additional fonts useful for OpenOffice and other programs.  Dejavu provides excellent default fonts which we will enable in the next section.</p>
<pre>app-admin/eselect-fontconfig
media-fonts/corefonts
media-fonts/dejavu
media-fonts/font-bh-ttf
media-fonts/font-bh-type1
media-fonts/freefonts
media-fonts/ttf-bitstream-vera
media-fonts/unifont
media-fonts/artwiz-aleczapka-en</pre>
<h3>Enabling fontconfig options</h3>
<p>Use &#8216;<strong>eselect fontconfig list</strong>&#8216; to see a list of available configuration options.</p>
<div id="attachment_402" class="wp-caption aligncenter" style="width: 308px"><a href="http://www.kev009.com/wp/wp-content/uploads/2009/12/eselect-fontconfig.png"><img class="size-medium wp-image-402" title="eselect-fontconfig" src="http://www.kev009.com/wp/wp-content/uploads/2009/12/eselect-fontconfig-298x300.png" alt="eselect fontconfig list" width="298" height="300" /></a><p class="wp-caption-text">eselect fontconfig list</p></div>
<p>Try enabling the following with &#8216;<strong>eselect fontconfig enable</strong> &lt;num from list above&gt;&#8217;:</p>
<pre>10-autohint.conf
10-sub-pixel-rgb.conf
20-unhint-small-dejavu-sans-mono.conf
20-unhint-small-dejavu-sans.conf
20-unhint-small-dejavu-serif.conf
25-unhint-nonlatin.conf
57-dejavu-sans-mono.conf
57-dejavu-sans.conf
57-dejavu-serif.conf</pre>
<p>This will give you very nice hinted fonts suitable for the great majority of RGB LCD displays.</p>
<p>The <em>57-</em> series rules enable dejavu fonts as the default Serif and Sans Serif fonts.  This will improve the look of your desktop environment and programs like Firefox immediately.</p>
<h3>~/.fonts.conf</h3>
<p>This file controls your user fontconfig settings.  We will reiterate RGB hinting and disable it for bold fonts so they are not overly bold.  There are plenty of other tricks you can perform in this file to get more Windows-like text, but I&#8217;m quite satisfied with the following and find it very easy to read.</p>
<pre>&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt;
 &lt;match target="font"&gt;
 &lt;edit mode="assign" name="rgba"&gt;
 &lt;const&gt;rgb&lt;/const&gt;
 &lt;/edit&gt;
 &lt;/match&gt;
 &lt;match target="font"&gt;
 &lt;edit mode="assign" name="hinting"&gt;
 &lt;bool&gt;true&lt;/bool&gt;
 &lt;/edit&gt;
 &lt;/match&gt;
 &lt;match target="font"&gt;
 &lt;edit mode="assign" name="hintstyle"&gt;
 &lt;const&gt;hintfull&lt;/const&gt;
 &lt;/edit&gt;
 &lt;/match&gt;
 &lt;match target="font"&gt;
 &lt;edit mode="assign" name="antialias"&gt;
 &lt;bool&gt;true&lt;/bool&gt;
 &lt;/edit&gt;
 &lt;/match&gt;
 &lt;!-- Disable autohint for bold fonts so they are not overly bold --&gt;
 &lt;match target="font" &gt;
 &lt;test compare="more" name="weight" &gt;
 &lt;const&gt;medium&lt;/const&gt;
 &lt;/test&gt;
 &lt;edit mode="assign" name="autohint" &gt;
 &lt;bool&gt;false&lt;/bool&gt;
 &lt;/edit&gt;
 &lt;/match&gt;
&lt;/fontconfig&gt;</pre>
<h3>Conclusion</h3>
<p>Please share any thoughts and tips in the comments.  I recommend browsing the <a href="http://en.gentoo-wiki.com/wiki/X.Org/Fonts" target="_blank">X.org Font Guide</a> on Gentoo Wiki, though some of the information there is out of date or more complex than the method I just outlined.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.kev009.com/wp/2009/12/getting-beautiful-fonts-in-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>To users that miss xorg.conf and complain about it</title>
		<link>http://www.kev009.com/wp/2009/05/to-users-that-miss-xorgconf-and-complain-about-it/</link>
		<comments>http://www.kev009.com/wp/2009/05/to-users-that-miss-xorgconf-and-complain-about-it/#comments</comments>
		<pubDate>Fri, 08 May 2009 06:38:10 +0000</pubDate>
		<dc:creator>kev009</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.kev009.com/wp/?p=242</guid>
		<description><![CDATA[I get requests from users and see questions all the time for &#8220;where did my xorg.conf go in the latest Ubuntu or Fedora?&#8221;, though it is usually a bit more of a flame. The quick answer&#8230; press Ctrl+Alt+F2 or similar &#8230; <a href="http://www.kev009.com/wp/2009/05/to-users-that-miss-xorgconf-and-complain-about-it/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[<p>I get requests from users and see questions all the time for &#8220;where did my xorg.conf go in the latest Ubuntu or Fedora?&#8221;, though it is usually a bit more of a flame.</p>
<p>The quick answer&#8230; press <strong>Ctrl+Alt+F2</strong> or similar to log into a TTY console, or type &#8216;init 3&#8242; into a root X terminal.</p>
<p>If you haven&#8217;t already, log in as root and  kill X or type &#8216;init 3&#8242; if you want to be heavy handed.  Then run:</p>
<pre>X -configure
mv ~/xorg.conf.new /etc/X11/xorg.conf</pre>
<p>xorg.config in two commands.  Run the &#8216;init 5&#8242; command to get back to your GUI login (or kdm or gdm or startx, etc if you know what you are doing.  Worst case remove the .conf and restart.)</p>
<p>If you are advanced enough to edit an xorg.conf, the above should be a cakewalk and you shouldn&#8217;t complain about it.</p>
<p>Regardless, you should investigate &#8216;xrandr&#8217; which makes it simple to do runtime adjustments.</p>
<p>If you are a newbie, look into a gui.  KDE has KRandRTray which makes controlling outputs and resolutions a breeze.  Don&#8217;t forget to toggle the output on with the <strong>Fn</strong> key if you are a laptop user.</p>
<p>Needless to say, Xorg is moving in the right direction.  Stop complaining about it.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.kev009.com/wp/2009/05/to-users-that-miss-xorgconf-and-complain-about-it/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

