ZEND studio 编辑器字体美化方法

我这里用的是 ZendStudio 5.5.0
找到这个目录 "Zend\ZendStudio-5.5.0\jre\lib"
除 fontconfig.properties.src 文件保留外,删除所有以 fontconfig. 开头的文件
将 fontconfig.properties.src 文件改名为 fontconfig.properties, 然后打开编辑
把以下的值

dialoginput.plain.alphabetic
dialoginput.bold.alphabetic
dialoginput.italic.alphabetic
dialoginput.bolditalic.alphabetic

改成你要设置的字体名称

这里我设置的是

dialoginput.plain.alphabetic=Lucida Sans Typewriter
dialoginput.plain.chinese-ms950=MsYahei

dialoginput.bold.alphabetic=Lucida Sans Typewriter Bold
dialoginput.bold.chinese-ms950=MsYahei Bold

dialoginput.italic.alphabetic=Lucida Sans Typewriter
dialoginput.italic.chinese-ms950=MsYahei

dialoginput.bolditalic.alphabetic=Lucida Sans Typewriter Bold
dialoginput.bolditalic.chinese-ms950=MsYahei Bold

其中 dialoginput.xxxx.chinese-ms950 是中文所用字体

然后再文件末尾添加定义上面设置的字体名称

filename.MsYahei=MSYH.TTF
filename.MsYahei_Bold=MSYHBD.TTF

filename.Lucida_Sans_Typewriter=LucidaTypewriterRegular.ttf
filename.Lucida_Sans_Typewriter_Bold=LucidaTypewriterBold.ttf

其中如 filename.MsYahei 中的 MsYahei 就是上面 dialoginput.xxxx.chinese-ms950 所使用的中文名称, 这里空格要改成 "_", 后面的 MSYH.TTF 是你系统中安装的字体文件的名称, 打开系统字体文件夹(如c:\windows\fonts), 以详细方式查看, 文件名一列即是

打开 zend studio, 指定编辑器的字体为 "dialoginput",然后重启编辑器即可看到效果

Tags: IDE, zend, zendstudio, 字体

相关日志

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

还没有评论。

发表评论

(必填)

(必填)


*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comment moderation is enabled. Your comment may take some time to appear.