首页 > 其他分享 >netbeans字体美化

netbeans字体美化

时间:2023-06-09 10:38:06浏览次数:48  
标签:Bold chinese netbeans DejaVu 字体 alphabetic filename 美化 Sans


http://coffee13.blogspot.com/2008/06/netbeans-61.html

2008年6月2日 星期一

装修 netbeans 6.1 中文版

一. 准备工作:

1. 安装 dejavu 字体(ver 2.25)

2. 安装 jdk 1.6,这版本的字体支持反锯齿。

3. 安装 netbeans 6.1ml,最新中文版。

二. 美化 netbeans 编辑器:

1. 把“如何调整Netbeans的字体”文章最后列出的配置内容复制存为 fontconfig.properties 文件;

fontconfig.properties :
(####################################################
# @(#)fontconfig.properties 1.5 04/01/28
#
# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
## Version
version=1
# Component Font Mappings
allfonts.chinese-ms936=SimSun
allfonts.chinese-gb18030=SimSun-18030
allfonts.chinese-hkscs=MingLiU_HKSCS
allfonts.devanagari=Mangal
allfonts.dingbats=Wingdings
allfonts.lucida=Lucida Sans Regular
allfonts.symbol=Symbol
allfonts.thai=Lucida Sans Regularserif.plain.alphabetic=DejaVu Serif
serif.plain.chinese-ms950=MingLiU
serif.plain.hebrew=David
serif.plain.japanese=MS Mincho
serif.plain.korean=Batangserif.bold.alphabetic=DejaVu Serif Bold
serif.bold.chinese-ms950=PMingLiU
serif.bold.hebrew=David Bold
serif.bold.japanese=MS Mincho
serif.bold.korean=Batangserif.italic.alphabetic=DejaVu Serif Italic
serif.italic.chinese-ms950=PMingLiU
serif.italic.hebrew=David
serif.italic.japanese=MS Mincho
serif.italic.korean=Batangserif.bolditalic.alphabetic=DejaVu Serif Bold Italic
serif.bolditalic.chinese-ms950=PMingLiU
serif.bolditalic.hebrew=David Bold
serif.bolditalic.japanese=MS Mincho
serif.bolditalic.korean=Batangsansserif.plain.alphabetic=DejaVu Sans
sansserif.plain.chinese-ms950=MingLiU
sansserif.plain.hebrew=David
sansserif.plain.japanese=MS Gothic
sansserif.plain.korean=Gulimsansserif.bold.alphabetic=DejaVu Sans Bold
sansserif.bold.chinese-ms950=PMingLiU
sansserif.bold.hebrew=David Bold
sansserif.bold.japanese=MS Gothic
sansserif.bold.korean=Gulimsansserif.italic.alphabetic=DejaVu Sans Oblique
sansserif.italic.chinese-ms950=PMingLiU
sansserif.italic.hebrew=David
sansserif.italic.japanese=MS Gothic
sansserif.italic.korean=Gulimsansserif.bolditalic.alphabetic=DejaVu Sans Bold Oblique
sansserif.bolditalic.chinese-ms950=PMingLiU
sansserif.bolditalic.hebrew=David Bold
sansserif.bolditalic.japanese=MS Gothic
sansserif.bolditalic.korean=Gulimmonospaced.plain.alphabetic=DejaVu Sans Mono
monospaced.plain.chinese-ms950=MingLiU
monospaced.plain.hebrew=David
monospaced.plain.japanese=MS Gothic
monospaced.plain.korean=GulimChemonospaced.bold.alphabetic=DejaVu Sans Mono Bold
monospaced.bold.chinese-ms950=PMingLiU
monospaced.bold.hebrew=David Bold
monospaced.bold.japanese=MS Gothic
monospaced.bold.korean=GulimChemonospaced.italic.alphabetic=DejaVu Sans Mono Oblique
monospaced.italic.chinese-ms950=PMingLiU
monospaced.italic.hebrew=David
monospaced.italic.japanese=MS Gothic
monospaced.italic.korean=GulimChemonospaced.bolditalic.alphabetic=DejaVu Sans Mono Bold Oblique
monospaced.bolditalic.chinese-ms950=PMingLiU
monospaced.bolditalic.hebrew=David Bold
monospaced.bolditalic.japanese=MS Gothic
monospaced.bolditalic.korean=GulimChedialog.plain.alphabetic=DejaVu Sans
dialog.plain.chinese-ms950=MingLiU
dialog.plain.hebrew=David
dialog.plain.japanese=MS Gothic
dialog.plain.korean=Gulimdialog.bold.alphabetic=DejaVu Sans Bold
dialog.bold.chinese-ms950=PMingLiU
dialog.bold.hebrew=David Bold
dialog.bold.japanese=MS Gothic
dialog.bold.korean=Gulimdialog.italic.alphabetic=DejaVu Sans Oblique
dialog.italic.chinese-ms950=PMingLiU
dialog.italic.hebrew=David
dialog.italic.japanese=MS Gothic
dialog.italic.korean=Gulimdialog.bolditalic.alphabetic=DejaVu Sans Bold Oblique
dialog.bolditalic.chinese-ms950=PMingLiU
dialog.bolditalic.hebrew=David Bold
dialog.bolditalic.japanese=MS Gothic
dialog.bolditalic.korean=Gulimdialoginput.plain.alphabetic=DejaVu Sans Mono
dialoginput.plain.chinese-ms950=MingLiU
dialoginput.plain.hebrew=David
dialoginput.plain.japanese=MS Gothic
dialoginput.plain.korean=Gulimdialoginput.bold.alphabetic=DejaVu Sans Mono Bold
dialoginput.bold.chinese-ms950=PMingLiU
dialoginput.bold.hebrew=David Bold
dialoginput.bold.japanese=MS Gothic
dialoginput.bold.korean=Gulimdialoginput.italic.alphabetic=DejaVu Sans Mono Oblique
dialoginput.italic.chinese-ms950=PMingLiU
dialoginput.italic.hebrew=David
dialoginput.italic.japanese=MS Gothic
dialoginput.italic.korean=Gulimdialoginput.bolditalic.alphabetic=DejaVu Sans Mono Bold Oblique
dialoginput.bolditalic.chinese-ms950=PMingLiU
dialoginput.bolditalic.hebrew=David Bold
dialoginput.bolditalic.japanese=MS Gothic
dialoginput.bolditalic.korean=Gulim# Search Sequences
sequence.allfonts=alphabetic/default,dingbats,symbol
sequence.serif.GBK=alphabetic,chinese-ms936,dingbats,symbol
sequence.sansserif.GBK=alphabetic,chinese-ms936,dingbats,symbol
sequence.monospaced.GBK=alphabetic,chinese-ms936,dingbats,symbol
sequence.dialog.GBK=alphabetic,chinese-ms936,dingbats,symbol
sequence.dialoginput.GBK=alphabetic,chinese-ms936,dingbats,symbolsequence.serif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
sequence.sansserif.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
sequence.monospaced.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
sequence.dialog.GB18030=alphabetic,chinese-gb18030,dingbats,symbol
sequence.dialoginput.GB18030=alphabetic,chinese-gb18030,dingbats,symbolsequence.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,symbolsequence.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,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,symbolsequence.allfonts.UTF-8.hi=alphabetic/1252,devanagari,dingbats,symbol
sequence.allfonts.windows-1255=hebrew,alphabetic/1252,dingbats,symbol
sequence.serif.windows-31j=alphabetic,japanese,dingbats,symbol
sequence.sansserif.windows-31j=alphabetic,japanese,dingbats,symbol
sequence.monospaced.windows-31j=alphabetic,japanese,dingbats,symbol
sequence.dialog.windows-31j=alphabetic,japanese,dingbats,symbol
sequence.dialoginput.windows-31j=alphabetic,japanese,dingbats,symbolsequence.serif.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.sansserif.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.monospaced.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.dialog.x-windows-949=alphabetic,korean,dingbats,symbol
sequence.dialoginput.x-windows-949=alphabetic,korean,dingbats,symbolsequence.allfonts.x-windows-874=alphabetic,thai,dingbats,symbol
sequence.fallback=lucida,\
                  chinese-ms950,chinese-hkscs,chinese-ms936,chinese-gb18030,\
                  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.TTFfilename.Courier_New=COUR.TTF
filename.Courier_New_Bold=COURBD.TTF
filename.Courier_New_Italic=COURI.TTF
filename.Courier_New_Bold_Italic=COURBI.TTFfilename.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.TTFfilename.SimSun=SIMSUN.TTC
filename.SimSun-18030=SIMSUN18030.TTCfilename.MingLiU=MINGLIU.TTC
filename.PMingLiU=MINGLIU.TTC
filename.MingLiU_HKSCS=hkscsm3u.ttffilename.David=DAVID.TTF
filename.David_Bold=DAVIDBD.TTFfilename.MS_Mincho=MSMINCHO.TTC
filename.MS_PMincho=MSMINCHO.TTC
filename.MS_Gothic=MSGOTHIC.TTC
filename.MS_PGothic=MSGOTHIC.TTCfilename.Gulim=gulim.TTC
filename.Batang=batang.TTC
filename.GulimChe=gulim.TTCfilename.Lucida_Sans_Regular=LucidaSansRegular.ttf
filename.Mangal=MANGAL.TTF
filename.Symbol=SYMBOL.TTF
filename.Wingdings=WINGDING.TTFfilename.DejaVu_Sans=DejaVuSans.ttf
filename.DejaVu_Sans_Bold=DejaVuSans-Bold.ttf
filename.DejaVu_Sans_Bold_Oblique=DejaVuSans-BoldOblique.ttf
filename.DejaVu_Sans_Oblique=DejaVuSans-Oblique.ttf
filename.DejaVu_Serif=DejaVuSerif.ttf
filename.DejaVu_Serif_Bold=DejaVuSerif-Bold.ttf
filename.DejaVu_Serif_Bold_Italic=DejaVuSerif-BoldItalic.ttf
filename.DejaVu_Serif_Bold=DejaVuSerif-Bold.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)#####################################

2. 修改:"version"是"1";

3. 修改:"filename.DejaVu_"是 Dejavu 对应字体文件名:

filename.DejaVu_Sans=DejaVuSans.ttf
filename.DejaVu_Sans_Bold=DejaVuSans-Bold.ttf
filename.DejaVu_Sans_Bold_Oblique=DejaVuSans-BoldOblique.ttf
filename.DejaVu_Sans_Oblique=DejaVuSansCondensed-Oblique.ttf
filename.DejaVu_Serif=DejaVuSerif.ttf
filename.DejaVu_Serif_Bold=DejaVuSerif-Bold.ttf
filename.DejaVu_Serif_Bold_Italic=DejaVuSerif-BoldItalic.ttf
filename.DejaVu_Serif_Italic=DejaVuSerif-Italic.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

4. 复制 fontconfig.properties 到 jdk 1.6 安装目录下的 jre/lib,安装时没改路径时是 C:/Program Files/Java/jdk1.6.0_10/jre/lib。

下图是把字体调到14之后用Noway Today配置文件的截图:

三. 美化 netbeans 菜单:

1. 编辑 netbeans 安装目录下的 etc/netbeans.conf 文件,在"netbeans_default_options"加上" --fontsize 14"(注意开始有个空格),完整是"-J-client -J-Xss16m -J-Xms256m -J-Xmx512m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true --fontsize 14";

下图是修改后的截图:

注意:如果编辑器有一条竖着的红线,工具>选项>编辑器>编排>右边距=200,就没了。

标签:Bold,chinese,netbeans,DejaVu,字体,alphabetic,filename,美化,Sans
From: https://blog.51cto.com/u_16065168/6445679

相关文章

  • 轻松解决 Eclipse Indigo 3.7 中文字体偏小,完美 Consolas 微软雅黑混合字体!
    Eclipse是著名的跨平台的自由集成开发环境(IDE)。6月22日Eclipse3.7正式发布,代号是Indigo。在Windows7下初始后化,发现界面变化不大,但中文字体却面目全非,小得根本看不见,而且也看起来很不爽。其实这是Eclipse的默认字体换了,以前的一直是CourierNew,这次eclipse用的字体是......
  • 英特尔开源新等宽字体Intel One Mono,称可保护开发者视力
    英特尔开源了一款面向开发者的新等宽字体 “ IntelOneMono”,这是一种富有表现力的等宽字体系列,集清晰度、易读性和开发者视力保护于一体。IntelOneMono字体涵盖了200多种使用拉丁文字的语言,提供四种粗细——Light、Regular、Medium和Bold,并带有默认的斜体。该系......
  • netbeans更改 WAR 的名称和位置
         生成WAR文件在标准项目中,每次IDE生成项目时,IDE都会使用项目源生成WAR文件。WAR文件是在项目文件夹的dist子文件夹中生成的。1.更改WAR的名称和位置:在“文件”窗口中,转至项目文件夹中的nbproject文件夹,然后打开project.properties。在dist.dir属性中输......
  • 【前端】elementUI表格根据状态显示不同的字体颜色
    elementUI表格根据状态显示不同的字体颜色elementUI官网:https://element.eleme.cn/#/zh-CNcell-style:单元格的style的回调方法,也可以使用一个固定的Object为所有单元格设置一样的Style。实现效果:实现步骤:el-table标签中增加一个方法回调,:cell-style=“cellStyle”。在方法中......
  • hugp-MemE关键美化
    配置frontmatter使用vscodesnippet快捷生成frontmatter参考博客:vs-code-workflows-for-hugo、markdown-snippets-not-working-in-vscode在使用了obsidian后,加入一些插件如quickadd等,优化了文章撰写,但是obsidian不能在网页端登陆,虽然多个平台都有部署安装包,此外仅支持md文件......
  • 微信H5适配 解决微信调整字体大小导致Html5页面混乱
    最近开发公众号遇到一个问题:iOS、Android加载页面,如果用户调整了微信自带的字体大小,那么我们的页面就会跟随调整字体大小,导致页面错乱无法适配。所以希望能够禁止微信的字体放大功能。找了一些方法总结如下:原理:阻止ios和安卓调整字体大小时候的事件,ios通过添加css属性,安卓通过......
  • 【zsh使用技巧】Linux shell美化,ohmyzsh安装+Xshell美化,体验Mac命令行
    解决oh-my-zsh主题乱码问题解决RockyLinux下ohmyzsh按Tab键自动补全命令时重复字符且无法删除问题Solve:RemnantcharacterswhentabcompletingIseeduplicatetypedcharactersafterIcompleteacommand愿你美化半生,归来仍是默认一、背景厌倦了Linux单调的命令行,......
  • excel 显示内容与预览内容不一样,字体换行
    普通预览(单元格内容发生换行) 处理方法:我们只需要关闭单元格自动换行指令即可 处理结果 ......
  • Web 开放字体格式 woff
    Web开放字体格式(WOFF)-Web开发者指南|MDNhttps://developer.mozilla.org/zh-CN/docs/Web/Guide/WOFFWeb字体简介:TTF,OTF,WOFF,EOT&SVG-知乎https://zhuanlan.zhihu.com/p/28179203 翻译搜索复制......
  • matplotlib 字体
    查看设置字体 中文字体frommatplotlib.font_managerimportFontManagerimportsubprocessmy_font_path='simhei.ttf'#SimHeiFontManager().addfont(my_font_path)mpl_fonts=set(f.nameforfinFontManager().ttflist)print('allfontlistgetfrommatplo......