<?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>漂自己的移，让别人都撞墙去吧 &#187; netbeans</title>
	<atom:link href="http://www.gagahappy.com/tag/netbeans/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gagahappy.com</link>
	<description>Life is what? Get busy living or get busy dying</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:19:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>netbeans 回车换行</title>
		<link>http://www.gagahappy.com/netbeans-wrapping/</link>
		<comments>http://www.gagahappy.com/netbeans-wrapping/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 15:20:56 +0000</pubDate>
		<dc:creator>moonfox</dc:creator>
				<category><![CDATA[程序开发]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.gagahappy.com/?p=919</guid>
		<description><![CDATA[netbeans怎么没有回车换行的选项啊，找了半天没找到！ 您可能感兴趣的文章 让netbeans支持monaco字体]]></description>
			<content:encoded><![CDATA[<p>netbeans怎么没有回车换行的选项啊，找了半天没找到！</p>
<p>您可能感兴趣的文章<ol>
<li><a href='http://www.gagahappy.com/netbeans-monaco-fonts/' rel='bookmark' title='让netbeans支持monaco字体'>让netbeans支持monaco字体</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.gagahappy.com/netbeans-wrapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>让netbeans支持monaco字体</title>
		<link>http://www.gagahappy.com/netbeans-monaco-fonts/</link>
		<comments>http://www.gagahappy.com/netbeans-monaco-fonts/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 09:58:21 +0000</pubDate>
		<dc:creator>moonfox</dc:creator>
				<category><![CDATA[我爱Linux]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.gagahappy.com/?p=200</guid>
		<description><![CDATA[monaco字体是苹果操作系统下的一款字体，很艺术性，个人感觉比较接近手写。代码用这种字体显示相当漂亮。 以下操作均是在ubuntu的操作系统上，如果你是windows请自己谷歌 or 百度吧 安装： 1、先在/usr/share/fonts/下新建一个文件夹mac sudo mkdir /usr/share/fonts/mac 2、然后把下载的monaco字体复制到此文件夹下 sudo cp ［路径＋*.ttf］ /usr/share/fonts/mac 3、开始安装 cd /usr/share/fonts/mac/ sudo mkfontscale （创建字体的fonts.scale文件，它用来控制字体旋转缩放） sudo mkfontdir （创建字体的fonts.dir文件，它用来控制字体粗斜体产生） sudo fc-cache -fv sudo fc-cache -fv （建立字体缓存信息，也就是让系统认识字体） 然后再重新登录系统，就可以在netbeans中使用monaco字体。注：monaco的字体只有在调到18号字的时候才能完美显示，否则是相当的难看的。 4、删除字体，直接删除mac文件夹，然后sudo fc-cache -fv 如果你的代码中不需要对中文进行支持，那么你就不用再往下看了。 由于monaco并不支持中文，所以页面中的中文字体全都变成了方块。解决方法如下 1、 修改$JAVA_HOME/jre/lib/目录下的fontconfig.properties文件，如果没有，可以将fontconfig.properties.src复制一份成为fontconfig.properties 2、在# Font File Names下加入filename.-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1=/usr/share/fonts/mac/MONACO.TTF（请根据你自己的实际情况进行修改） 3、在# Component Font Mappings下加入allfonts.monaco=-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1(后经实践不用加上这个也可以) 4、修改所有monospaced.xxx.latin-1, 修改为-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1 保存后重新启动netbeans。现在中文正常显示了吧。什么，你的还不行，那恭喜你了。请自己去谷歌 or 百度一下吧。 您可能感兴趣的文章 wc命令 [emerg]: getpwnam(“nginx”) [...]]]></description>
			<content:encoded><![CDATA[<p>monaco字体是苹果操作系统下的一款字体，很艺术性，个人感觉比较接近手写。代码用这种字体显示相当漂亮。<br />
以下操作均是在ubuntu的操作系统上，如果你是windows请自己谷歌 or 百度吧<br />
安装：<br />
1、先在/usr/share/fonts/下新建一个文件夹mac<br />
sudo mkdir /usr/share/fonts/mac<br />
2、然后把下载的monaco字体复制到此文件夹下<br />
sudo cp ［路径＋*.ttf］ /usr/share/fonts/mac<br />
3、开始安装</p>
<p><span id="more-200"></span></p>
<p>cd /usr/share/fonts/mac/<br />
sudo mkfontscale<br />
（创建字体的fonts.scale文件，它用来控制字体旋转缩放）<br />
sudo mkfontdir<br />
（创建字体的fonts.dir文件，它用来控制字体粗斜体产生）<br />
sudo fc-cache -fv sudo fc-cache -fv<br />
（建立字体缓存信息，也就是让系统认识字体）<br />
然后再重新登录系统，就可以在netbeans中使用monaco字体。注：monaco的字体只有在调到18号字的时候才能完美显示，否则是相当的难看的。<br />
4、删除字体，直接删除mac文件夹，然后sudo fc-cache -fv<br />
如果你的代码中不需要对中文进行支持，那么你就不用再往下看了。</p>
<p>由于monaco并不支持中文，所以页面中的中文字体全都变成了方块。解决方法如下<br />
1、 修改$JAVA_HOME/jre/lib/目录下的fontconfig.properties文件，如果没有，可以将fontconfig.properties.src复制一份成为fontconfig.properties<br />
2、在# Font File Names下加入filename.-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1=/usr/share/fonts/mac/MONACO.TTF（请根据你自己的实际情况进行修改）<br />
3、在# Component Font Mappings下加入allfonts.monaco=-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1(后经实践不用加上这个也可以)<br />
4、修改所有monospaced.xxx.latin-1, 修改为-apple-monaco-medium-r-normal&#8211;0-0-0-0-m-0-iso8859-1<br />
保存后重新启动netbeans。现在中文正常显示了吧。什么，你的还不行，那恭喜你了。请自己去谷歌 or 百度一下吧。</p>
<p>您可能感兴趣的文章<ol>
<li><a href='http://www.gagahappy.com/linux-wc-command/' rel='bookmark' title='wc命令'>wc命令</a></li>
<li><a href='http://www.gagahappy.com/emerg-getpwnam-nginx-failed/' rel='bookmark' title='[emerg]: getpwnam(“nginx”) failed'>[emerg]: getpwnam(“nginx”) failed</a></li>
<li><a href='http://www.gagahappy.com/git-bash-on-windows/' rel='bookmark' title='Git Bash on windows'>Git Bash on windows</a></li>
<li><a href='http://www.gagahappy.com/custom-ubuntu-cmd-shell/' rel='bookmark' title='定制Ubuntu命令行提示符'>定制Ubuntu命令行提示符</a></li>
<li><a href='http://www.gagahappy.com/to-upgrade-to-ubuntu-10-10-from-ubuntu-10-04-lts/' rel='bookmark' title='从Ubuntu 10.04升级到Ubuntu 10.10'>从Ubuntu 10.04升级到Ubuntu 10.10</a></li>
<li><a href='http://www.gagahappy.com/ubuntu-auto-mount-ntfs/' rel='bookmark' title='ubuntu 自动加载ntfs分区'>ubuntu 自动加载ntfs分区</a></li>
<li><a href='http://www.gagahappy.com/redirect-301-apache/' rel='bookmark' title='网站301重定向'>网站301重定向</a></li>
<li><a href='http://www.gagahappy.com/jdk-fontsettings/' rel='bookmark' title='ubuntu jdk 字体反锯齿处理'>ubuntu jdk 字体反锯齿处理</a></li>
<li><a href='http://www.gagahappy.com/google-chrome-for-ubuntu/' rel='bookmark' title='google chrome for ubuntu'>google chrome for ubuntu</a></li>
<li><a href='http://www.gagahappy.com/linux-basic-script/' rel='bookmark' title='Linux脚本编写语法基础介绍'>Linux脚本编写语法基础介绍</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.gagahappy.com/netbeans-monaco-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

