<?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>ShareItem.org&#187; Fonts</title>
	<atom:link href="http://shareitem.org/archive/tag/fonts/feed" rel="self" type="application/rss+xml" />
	<link>http://shareitem.org</link>
	<description>这里记录着我学习 Linux 的点滴</description>
	<lastBuildDate>Fri, 16 Oct 2009 16:03:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>字体美化：微软雅黑</title>
		<link>http://shareitem.org/archive/howto-use-msyh-font-in-archlinux.html</link>
		<comments>http://shareitem.org/archive/howto-use-msyh-font-in-archlinux.html#comments</comments>
		<pubDate>Thu, 23 Oct 2008 16:30:51 +0000</pubDate>
		<dc:creator>kaysiness</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[雅黑]]></category>

		<guid isPermaLink="false">http://www.shareitem.org/desktop/howto-use-msyh-font-in-archlinux.html</guid>
		<description><![CDATA[<p>先说说我的平台：Archlinux + GNOME2.24 / xfce4.4.2
在安装字体之前，首先要装好ubuntu版的cairo、fontconfig、freetype2、libxft。当然，你也可以使用lcd版的，但我个人觉得ubuntu的比lcd的显示效果要好。下面…</p>]]></description>
			<content:encoded><![CDATA[<p>先说说我的平台：Archlinux + GNOME2.24 / xfce4.4.2<br />
在安装字体之前，首先要装好ubuntu版的cairo、fontconfig、freetype2、libxft。当然，你也可以使用lcd版的，但我个人觉得ubuntu的比lcd的显示效果要好。下面是AUR上的链接</p>
<blockquote>
<ul>
<li><a href="http://aur.archlinux.org/packages.php?ID=17327">cairo-ubuntu</a></li>
<li><a href="http://aur.archlinux.org/packages.php?ID=17156">fontconfig-ubuntu</a></li>
<li><a href="http://aur.archlinux.org/packages.php?ID=17328">freetype2-ubuntu</a></li>
<li><a href="http://aur.archlinux.org/packages.php?ID=17157">libxft-ubuntu</a></li>
</ul>
</blockquote>
<p>在vista上M$启用了不少新字体，但由于版权的问题，我这里就不提供了，有兴趣的Google之。</p>
<blockquote>
<ol>
<li>Segoe UI 为 Vista 新英文 UI ClearType 字体</li>
<li>Sans Serif 字体： Calibri Candara Corbel</li>
<li>Serif 字体： Cambria Constantia</li>
<li>monospace 字体： Consolas</li>
<li>Msyh + Msyh bold 为 Vista 新中文字体</li>
<li>Msjh + Msjh Bold 为 Vista 新繁体中文字体</li>
<li>Meiryo + Meiryo Bold 为 Vista 新日文字体</li>
<li>Malgun Gothic + bold 为 Vista 新韩文字体</li>
</ol>
</blockquote>
<p>将以上的字体放到 /usr/share/fonts/vista 下，然后在该目录下执行</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> mkfontdir
<span style="color: #c20cb9; font-weight: bold;">sudo</span> mkfontscale</pre></div></div>

<p>并在 /etc/X11/xorg.conf 里加入一行：</p>
<blockquote><p>FontPath &#8220;/usr/share/fonts/vista&#8221;</p></blockquote>
<p>最后创建字体缓存</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> fc-cache <span style="color: #660033;">-fv</span></pre></div></div>

<p>确保 /etc/fonts/conf.d/ 下有 51-local.conf 这个文件，并确保里面的内容是</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #00bbdd;">&lt;!DOCTYPE fontconfig SYSTEM &quot;fonts.dtd&quot;&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #808080; font-style: italic;">&lt;!-- Load local system customization file --&gt;</span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;include</span> <span style="color: #000066;">ignore_missing</span>=<span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>local.conf<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/include<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/fontconfig<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>然后下载这个local.conf文件（<a href="http://www.box.net/shared/82mzs0va4e">box.net</a> | <a href="http://www.mediafire.com/?cdgydgu2ljl">MediaFile</a> | <a href="http://www.divshare.com/download/5653528-abb">DivShare</a>），解压后放到 /etc/fonts/ 下。这个文件是很早以前从<a href="http://www.linuxsir.org/bbs">linuxsir.org</a>论坛上收集的，不记得原作者是谁了，在此对原作者说声抱歉。好了，重启系统（或注销）吧。</p>
<p>然后打开GNOME面板的“系统”—“首选项”—“外观”，选择“字体”—“细节”，按照下图设置</p>
<p style="text-align: center"><a title="screenshot10.png" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot10.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot10.thumbnail.png" alt="screenshot10.png" /></a></p>
<p>不用去改默认的字体，保持默认的Sans即可。怎样？效果还不错把。下面是我的一些截图。<br />
nautilus截图</p>
<p style="text-align: center"><a title="nautilus截图" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot11.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot11.thumbnail.png" alt="nautilus截图" /></a></p>
<p>日文字体</p>
<p style="text-align: center"><a title="日文字体" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot12.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot12.thumbnail.png" alt="日文字体" /></a></p>
<p>中文字体</p>
<p style="text-align: center"><a title="中文字体" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot13.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot13.thumbnail.png" alt="中文字体" /></a></p>
<p>shareitem.org在firefox下的截图</p>
<p style="text-align: center"><a title="shareitem.org在firefox下的截图" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot14.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot14.thumbnail.png" alt="shareitem.org在firefox下的截图" /></a></p>
<p>163.com在firefox下的截图</p>
<p style="text-align: center"><a title="163.com在firefox下的截图" href="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot15.png"><br />
<img src="http://learn.yo2.cn/wp-content/uploads/121/12133/2008/10/screenshot15.thumbnail.png" alt="163.com在firefox下的截图" /></a></p>
<hr />
文章地址:<a href="http://shareitem.org/archive/howto-use-msyh-font-in-archlinux.html">http://shareitem.org/archive/howto-use-msyh-font-in-archlinux.html</a> <br />
<small>本文内容属于<a href="http://shareitem.org/">ShareItem.org</a>，遵循<a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'> CC </a>协议 | 7e6874b3209cf4276e96802080b61256</small>

<p>没有相关文章</p>]]></content:encoded>
			<wfw:commentRss>http://shareitem.org/archive/howto-use-msyh-font-in-archlinux.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>开源字体美化：文泉驿点阵宋（GNOME）</title>
		<link>http://shareitem.org/archive/howto-use-open-source-fonts-wqy-in-gnome.html</link>
		<comments>http://shareitem.org/archive/howto-use-open-source-fonts-wqy-in-gnome.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 13:30:05 +0000</pubDate>
		<dc:creator>kaysiness</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://www.shareitem.org/desktop/howto-use-open-source-fonts-wqy-in-gnome.html</guid>
		<description><![CDATA[<p>文泉驿字体应该不用介绍了吧，这可是目前为数不多的中文开源字体，主要开发点阵和矢量字体。目前Ubuntu、Fedora等发行版都已经使用文泉驿作为默认中文字体，而我们的Archlinux自然也不落后…</p>]]></description>
			<content:encoded><![CDATA[<p>文泉驿字体应该不用介绍了吧，这可是目前为数不多的中文开源字体，主要开发点阵和矢量字体。目前<a href="http://www.ubuntu.org.cn/">Ubuntu</a>、<a href="http://fedoraproject.org/zh_CN/get-fedora">Fedora</a>等发行版都已经使用文泉驿作为默认中文字体，而我们的<a href="http://www.archlinux.org/">Archlinux</a>自然也不落后，可以直接从源里下载文泉驿点阵宋和正黑字体。下面分享下我用点阵宋美化的一些经验，也欢迎大家拍砖。<br />
首先从源里安装字体，英文部分我用 dejavu 字体来显示，至于另外三个是其他的自由中文字体，最好还是安装上吧。</p>
<blockquote><p>
# pacman -S wqy-bitmapfont wqy-zenhei ttf-dejavu ttf-arphic-ukai ttf-arphic-uming ttf-fireflysung </p></blockquote>
<p>如果你是lcd显示器的，可以安装 libxft-lcd 这个包以达到更好的效果。</p>
<blockquote><p>
# pacman -S libxft-lcd</p></blockquote>
<p>然后下载这个fonts.conf文件（下载：<a href="http://www.box.net/shared/5v4crm0ks9">box.net</a> | <a href="http://www.rayfile.com/files/b2d839eb-75dd-11dd-b206-0014221b798a/">RayFile</a>），并放到家目录下，另外也可以拷一份放到/root/下。至于里面设置的含义，有兴趣的可以浏览<a href="http://wiki.archlinux.org/index.php/%E5%AD%97%E4%BD%93%E8%AE%BE%E7%BD%AE">字体设置这篇wiki文章</a>。<br />
接着打开“系统”-“首选项”-“外观”，打开“字体”选项卡，按照下图的方式设置</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/bXV5HfTB7VQ/s1600-h/w519xh536.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWYE_IeVI/AAAAAAAABHA/IaDBCefyNyY/s320-R/w519xh536.png" /></a></div>
<p>然后点“细节”，也按照下图的方式设置</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/dBdkepaT2N0/s1600-h/w522xh573.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgWY-LNxRI/AAAAAAAABHI/4k_K0FkAyeI/s320-R/w522xh573.png" /></a></div>
<p>保存后，可以注销了，以下是我的效果图。（本来想找些中文目录的，但发现我硬盘里没有啊，只好新建了。）</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/o5KtBdqNiL0/s1600-h/2008-08-29_819x584.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXuF2UIxI/AAAAAAAABHQ/0fxG-mQ2djE/s320-R/2008-08-29_819x584.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/YqU81fctXJg/s1600-h/2008-08-29_815x584.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgYGms-aRI/AAAAAAAABHg/jf2Q-pAJDYY/s320-R/2008-08-29_815x584.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/vWr8fWXA1rY/s1600-h/2008-08-29_1280x1024.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_UX_e8nZMpQ0/SLgXvxnNXeI/AAAAAAAABHY/DFMPDUWyxWY/s320-R/2008-08-29_1280x1024.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/lWctXkemL00/s1600-h/2008-08-29_1280x1024.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgYwuGPwlI/AAAAAAAABHo/YGTEVrTVtz8/s320-R/2008-08-29_1280x1024.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/pkR2Yl1cesg/s1600-h/2008-08-29_1280x1024.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_UX_e8nZMpQ0/SLgZmnYrHrI/AAAAAAAABHw/zKOdyDsZosY/s320-R/2008-08-29_1280x1024.png" /></a></div>
<hr />
文章地址:<a href="http://shareitem.org/archive/howto-use-open-source-fonts-wqy-in-gnome.html">http://shareitem.org/archive/howto-use-open-source-fonts-wqy-in-gnome.html</a> <br />
<small>本文内容属于<a href="http://shareitem.org/">ShareItem.org</a>，遵循<a href='http://creativecommons.org/licenses/by-nc-nd/2.5/cn/'> CC </a>协议 | 7e6874b3209cf4276e96802080b61256</small>

<p>没有相关文章</p>]]></content:encoded>
			<wfw:commentRss>http://shareitem.org/archive/howto-use-open-source-fonts-wqy-in-gnome.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
