浏览 10482 次
锁定老帖子 主题:Netbeans 6.5 完美字体设置
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-11-21
最后修改:2008-12-31
提示:如有转载请注明作者 小游戏 及出处
随着netbeans 6.5的发布,我们有了一个更好组合的软件开发平台,但是进入界面后,一个丑陋的画面就在你面前了,怎么改才能让它更漂亮呢?搜寻了一下相关方面的帖子,通过自己的试验总结如下: 1. 安装新的java sdk 后我们需要更改其字体配置,在java的安装目录中找到jdk里的jre里的lib目录(还有jre的lib目录),把fontconfig.properties.src改为fontconfig.properties,这后把其中的sequence.monospaced.GBK=chinese-ms936,alphabetic,dingbats,symbol改为sequence.monospaced.GBK=alphabetic,chinese-ms936,dingbats,symbol。其他的以sequence.monospaced开头的都要改,让alphabetic处在最前面。 2. netbeans字体小,是因为他默认的是11,一般情况下12为不错的选择,更改netbeans的配置文件netbeans.conf,把netbeans_default_options里假如一项设置--fontsize 12 这时你的netbeans应该非常漂亮了,看着很舒服 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-12-19
确实不错,就为那个OUTPUT我在网上逛了很久,都没解决
|
|
返回顶楼 | |
发表时间:2008-12-19
最后修改:2008-12-19
我想把字体设置为 Courier New,但好像乱码的,Netbeans的字体真麻烦
|
|
返回顶楼 | |
发表时间:2008-12-20
自从用了YaHei以后就再没有换过别的 不知道在Suse上会不会好看
|
|
返回顶楼 | |
发表时间:2008-12-21
代码用Dialog Input效果比较好。
|
|
返回顶楼 | |
发表时间:2009-02-20
效果不错,谢谢。
|
|
返回顶楼 | |
发表时间:2009-02-23
最后修改:2009-02-23
dejavu sans mono显示英文不错的,mocano也不错,就是太宽了点。这样的配置起不了很大作用的。里面的这个文件要改动很多才好。这个文件供大家使用,随便转载。
# @(#)fontconfig.properties 1.5 04/01/28 # # Copyright 2003 Sun Microsystems, Inc. All rights reserved. # # Version version=1 # Component Font Mappings #allfonts.chinese-ms936=MingLiU allfonts.chinese-ms936=\u5FAE\u8F6F\u96C5\u9ED1 #allfonts.chinese-gb18030=SimSun allfonts.chinese-gb18030=\u5FAE\u8F6F\u96C5\u9ED1 allfonts.chinese-hkscs=MingLiU_HKSCS allfonts.devanagari=Mangal allfonts.dingbats=Wingdings allfonts.lucida=Lucida Sans Regular allfonts.symbol=Symbol allfonts.thai=Lucida Sans Regular serif.plain.alphabetic=Times New Roman serif.plain.chinese-ms950=MingLiU serif.bold.alphabetic=Times New Roman Bold serif.bold.chinese-ms950=PMingLiU serif.italic.alphabetic=Times New Roman Italic serif.italic.chinese-ms950=PMingLiU serif.bolditalic.alphabetic=Times New Roman Bold Italic serif.bolditalic.chinese-ms950=PMingLiU #sansserif.plain.alphabetic=Arial sansserif.plain.alphabetic=DejaVu Sans sansserif.plain.chinese-ms950=MingLiU #sansserif.bold.alphabetic=Arial Bold sansserif.bold.alphabetic=DejaVu Sans Bold sansserif.bold.chinese-ms950=PMingLiU #sansserif.italic.alphabetic=Arial Italic sansserif.italic.alphabetic=DejaVu Sans Oblique sansserif.italic.chinese-ms950=PMingLiU #sansserif.bolditalic.alphabetic=Arial Bold Italic sansserif.bolditalic.alphabetic=DejaVu Sans Bold Oblique sansserif.bolditalic.chinese-ms950=PMingLiU #monospaced.plain.alphabetic=Monaco monospaced.plain.alphabetic=DejaVu Sans Mono monospaced.plain.chinese-ms950=MingLiU #monospaced.bold.alphabetic=Monaco Bold monospaced.bold.alphabetic=DejaVu Sans Mono Bold monospaced.bold.chinese-ms950=PMingLiU #monospaced.italic.alphabetic=Monaco Italic monospaced.italic.alphabetic=DejaVu Sans Mono Oblique monospaced.italic.chinese-ms950=PMingLiU #monospaced.bolditalic.alphabetic=Monaco Bold Italic monospaced.bolditalic.alphabetic=DejaVu Sans Mono Bold Oblique monospaced.bolditalic.chinese-ms950=PMingLiU dialog.plain.alphabetic=Monaco dialog.plain.chinese-ms950=MingLiU dialog.bold.alphabetic=Monaco Bold dialog.bold.chinese-ms950=PMingLiU dialog.italic.alphabetic=Monaco Italic dialog.italic.chinese-ms950=PMingLiU dialog.bolditalic.alphabetic=Monaco Bold Italic dialog.bolditalic.chinese-ms950=PMingLiU dialoginput.plain.alphabetic=Courier New dialoginput.plain.chinese-ms950=MingLiU dialoginput.bold.alphabetic=Courier New Bold dialoginput.bold.chinese-ms950=PMingLiU dialoginput.italic.alphabetic=Courier New Italic dialoginput.italic.chinese-ms950=PMingLiU dialoginput.bolditalic.alphabetic=Courier New Bold Italic dialoginput.bolditalic.chinese-ms950=PMingLiU # Search Sequences sequence.allfonts=alphabetic/default,dingbats,symbol #\u5728\u4E2D\u6587windows xp\u73AF\u5883\u4E0B\u901A\u8FC7\u8FD9\u4E2A\u5B9A\u4E49\u6765\u67E5\u627E\u5B57\u4F53\u3002\u8FD9\u91CC\u5148\u6307\u5B9Aalphabetic\u5373\u67E5\u627E\u5B57\u4F53\u65F6\u4F1A\u5148\u67E5\u627Emonospaced.plain.alphabetic\u3001monospaced.bold.alphabetic...\u7684\u5B9A\u4E49\u3002\u5982\u679C\u6CA1\u6709\u627E\u5230\u5219\u4F1A\u627Eallfonts\u4E0B\u7684\u5B9A\u4E49\u3002\u901A\u8FC7\u8FD9\u4E2A\u5B9A\u4E49\u5C31\u662F\u8BF4\u5148\u67E5\u627E\u5BF9\u5E94\u7684alphabetic\u5B9A\u4E49\uFF0C\u5728\u663E\u793A\u4E2D\u6587\u65F6\u5982\u679Calphabetic\u662F\u82F1\u6587\u5B57\u4F53\u5219\u67E5\u627E\u4E0B\u4E00\u4E2Achinese-ms936\u7684\u5B9A\u4E49\uFF08\u8FD9\u91CC\u7531\u4E8Emonospaced\u6CA1\u6709\u8FD9\u4E2A\u5B9A\u4E49\u6240\u6709\u6700\u540E\u5339\u914D\u7684\u662Fallfonts.chinese-ms936\uFF09\u3002 sequence.monospaced.GBK=alphabetic,chinese-ms936,dingbats,symbol sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbol sequence.monospaced.UTF-8=alphabetic,chinese-ms936,dingbats,symbol sequence.serif.UTF-8=alphabetic,chinese-ms936,dingbats,symbol sequence.sansserif.UTF-8=alphabetic,chinese-ms936,dingbats,symbol sequence.dialog.UTF-8=alphabetic,chinese-ms936,dingbats,symbol sequence.dialoginput.UTF-8=alphabetic,chinese-ms936,dingbats,symbol sequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol sequence.monospaced.GB18030=alphabetic,chinese-gb18030,alphabetic,dingbats,symbol sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbol sequence.serif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol sequence.sansserif.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol sequence.monospaced.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol sequence.dialog.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol sequence.dialoginput.x-windows-950=alphabetic,chinese-ms950,dingbats,symbol sequence.serif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol sequence.sansserif.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol sequence.monospaced.x-MS950-HKSCS=alphabetic,chinese-ms950,alphabetic,chinese-hkscs,dingbats,symbol sequence.dialog.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol sequence.dialoginput.x-MS950-HKSCS=alphabetic,chinese-ms950,chinese-hkscs,dingbats,symbol sequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol sequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol sequence.fallback=chinese-ms936,chinese-gb18030,lucida,chinese-ms950,chinese-hkscs,japanese,korean # Exclusion Ranges exclusion.alphabetic=0700-1e9f,1f00-20ab,20ad-f8ff exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac # Monospaced to Proportional width variant mapping # (Experimental private syntax) proportional.MS_Gothic=MS PGothic proportional.MS_Mincho=MS PMincho proportional.MingLiU=PMingLiU # Font File Names filename.Arial=ARIAL.TTF filename.Arial_Bold=ARIALBD.TTF filename.Arial_Italic=ARIALI.TTF filename.Arial_Bold_Italic=ARIALBI.TTF filename.Courier_New=COUR.TTF filename.Courier_New_Bold=COURBD.TTF filename.Courier_New_Italic=COURI.TTF filename.Courier_New_Bold_Italic=COURBI.TTF filename.Verdana=verdana.ttf filename.Verdana_Bold=verdanab.ttf filename.Verdana_Italic=verdanai.ttf filename.Verdana_Bold_Italic=verdanaz.ttf filename.Times_New_Roman=TIMES.TTF filename.Times_New_Roman_Bold=TIMESBD.TTF filename.Times_New_Roman_Italic=TIMESI.TTF filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF filename.SimSun=SIMSUN.TTC filename.SimSun-18030=SIMSUN18030.TTC filename.MingLiU=MINGLIU.TTC filename.PMingLiU=MINGLIU.TTC filename.MingLiU_HKSCS=hkscsm3u.ttf filename.David=DAVID.TTF filename.David_Bold=DAVIDBD.TTF filename.MS_Mincho=MSMINCHO.TTC filename.MS_PMincho=MSMINCHO.TTC filename.MS_Gothic=MSGOTHIC.TTC filename.MS_PGothic=MSGOTHIC.TTC filename.Gulim=gulim.TTC filename.Batang=batang.TTC filename.GulimChe=gulim.TTC filename.Lucida_Sans_Regular=LucidaSansRegular.ttf filename.Mangal=MANGAL.TTF filename.Symbol=SYMBOL.TTF filename.Wingdings=WINGDING.TTF filename.\u5FAE\u8F6F\u96C5\u9ED1=msyh.ttf filename.\u5FAE\u8F6F\u96C5\u9ED1_Bold=msyhbd.ttf filename.Monaco=monaco.ttf filename.Monaco_Bold=monaco.ttf filename.Monaco_Italic=monaco.ttf filename.Monaco_Bold_Italic=monaco.ttf filename.DejaVu_Sans_Mono=DejaVuSansMono.ttf filename.DejaVu_Sans_Mono_Bold=DejaVuSansMono-Bold.ttf filename.DejaVu_Sans_Mono_Bold_Oblique=DejaVuSansMono-BoldOblique.ttf filename.DejaVu_Sans_Mono_Oblique=DejaVuSansMono-Oblique.ttf UNICODE字符是微软雅黑以 gbk启动NB GBK 的就要改,UTF8启动那相应的也要改。 |
|
返回顶楼 | |
发表时间:2009-03-11
乱码乱得是一踏糊涂。
只要一改成courier new字体,里面的汉字都变成乱码。虽然通过更改一些配置文件能解决字体问题,但实在是影响人的心情。 这一点跟eclipse真是相差太远了。 本地化做得真是差得不行。 单就刚安装完成后启动后的菜单字体,就已经令人无语了。 弃之。 |
|
返回顶楼 | |
发表时间:2009-03-11
每次添加jar,如果某个文件夹下面文件比较多,就慢的的要命、
|
|
返回顶楼 | |