Chinaunix首页 | 论坛 | 博客
  • 博客访问: 604863
  • 博文数量: 33
  • 博客积分: 3063
  • 博客等级: 少校
  • 技术积分: 565
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-05 13:40
文章分类

全部博文(33)

文章存档

2012年(33)

分类: LINUX

2012-03-30 11:49:14

ubuntu: Ubuntu 6.04 "Dapper Drake" Development Branch

先安裝螢火飛的字型檔(真的很多謝他熱心並且免費提供字型)



然後安裝jbuilder 2005,我的沒有上任何updat path
你一進去後會發現怎選中文就是出不來(這不是我這文章的重點嗎 )

先到jbuilder下的java目錄(以我本機為例)
/opt/Borland/JBuilder2005/jdk1.4/jre/lib
裏面有一個字型的設定檔 font.properties(接下來的動作請備份這個檔),把裏面的內容換成下面

# Serif font definition
#
serif.0=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
serif.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0 -big5-0

serif.italic.0=-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1
serif.italic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
serif.italic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d- *-*-c-0-big5-0

serif.bold.0=-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1
serif.bold.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
serif.bold.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*- *-c-0-big5-0

serif.bolditalic.0=-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1
serif.bolditalic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
serif.bolditalic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--* -%d-*-*-c-0-big5-0

# SansSerif font definition
#
sansserif.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
sansserif.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-* -c-0-big5-0

sansserif.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.italic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
sansserif.italic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--* -%d-*-*-c-0-big5-0

sansserif.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bold.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
sansserif.bold.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-% d-*-*-c-0-big5-0

sansserif.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
sansserif.bolditalic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
sansserif.bolditalic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-norma l--*-%d-*-*-c-0-big5-0

# Monospaced font definition
#
monospaced.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
monospaced.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
monospaced.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*- *-c-0-big5-0

monospaced.italic.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8 859-1
monospaced.italic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
monospaced.italic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal-- *-%d-*-*-c-0-big5-0

monospaced.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859- 1
monospaced.bold.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
monospaced.bold.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*- %d-*-*-c-0-big5-0

monospaced.bolditalic.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-is o8859-1
monospaced.bolditalic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
monospaced.bolditalic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-norm al--*-%d-*-*-c-0-big5-0

# Dialog font definition
#
dialog.0=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialog.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c- 0-big5-0

dialog.italic.0=-b&h-lucidasans-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.italic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialog.italic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d -*-*-c-0-big5-0

dialog.bold.0=-b&h-lucidasans-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bold.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialog.bold.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-* -*-c-0-big5-0

dialog.bolditalic.0=-b&h-lucidasans-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1
dialog.bolditalic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialog.bolditalic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal-- *-%d-*-*-c-0-big5-0

# DialogInput font definition
#
dialoginput.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1
dialoginput.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialoginput.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-* -*-c-0-big5-0

dialoginput.italic.0=-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso 8859-1
dialoginput.italic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialoginput.italic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal- -*-%d-*-*-c-0-big5-0

dialoginput.bold.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859 -1
dialoginput.bold.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialoginput.bold.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--* -%d-*-*-c-0-big5-0

dialoginput.bolditalic.0=-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-i so8859-1
dialoginput.bolditalic.1=-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0
dialoginput.bolditalic.2=-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-nor mal--*-%d-*-*-c-0-big5-0

# Default font definition
#
default.char=274f

fontcharset.serif.0=sun.io.CharToByteISO8859_1
fontcharset.serif.1=sun.awt.motif.CharToByteX11GBK

fontcharset.sansserif.0=sun.io.CharToByteISO8859_1
fontcharset.sansserif.1=sun.awt.motif.CharToByteX11GBK

fontcharset.monospaced.0=sun.io.CharToByteISO8859_1
fontcharset.monospaced.1=sun.awt.motif.CharToByteX11GBK

fontcharset.dialog.0=sun.io.CharToByteISO8859_1
fontcharset.dialog.1=sun.awt.motif.CharToByteX11GBK

fontcharset.dialoginput.0=sun.io.CharToByteISO8859_1
fontcharset.dialoginput.1=sun.awt.motif.CharToByteX11GBK

# exclusion info.
#
fontset.serif.plain=\
-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.serif.italic=\
-b&h-lucidabright-medium-i-normal--*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.serif.bold=\
-b&h-lucidabright-demibold-r-normal--*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.serif.bolditalic=\
-b&h-lucidabright-demibold-i-normal--*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

# SansSerif font definition
#

fontset.sansserif.plain=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.sansserif.italic=\
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.sansserif.bold=\
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.sansserif.bolditalic=\
-b&h-lucida-bold-i-normal-snas-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

# Monospaced font definition
#
fontset.monospaced.plain=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.monospaced.italic=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.monospaced.bold=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-,1\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.monospaced.bolditalic=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

# Dialog font definition
#
fontset.dialog.italic=\
-b&h-lucida-medium-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialog.bold=\
-b&h-lucida-bold-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialog.bolditalic=\
-b&h-lucida-bold-i-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialog.plain=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

# DialogInput font definition
#
fontset.dialoginput.italic=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialoginput.bold=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialoginput.bolditalic=\
-b&h-lucidatypewriter-bold-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

fontset.dialoginput.plain=\
-b&h-lucidatypewriter-medium-r-normal-sans-*-%d-*-*-m-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

#
fontset.default=\
-b&h-lucida-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1,\
-DynaLab-MingLiU-medium-r-normal--*-%d-*-*-c-*-big5-0,\
-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--*-%d-*-*-c-0-big5-0

filename.-arphic_technology_co.-ar_pl_mingti2l_big5-medium-r-normal--*-%d-*-*-c- *-iso10646-1=/usr/share/fonts/truetype/fireflysung.ttf

重點在最後一行哦,你要把螢火飛做出來的字型檔放到 jbuilder裏用的java字型目錄裏

然後jbuilder還有一個字型的格外的東西要抓一下


這樣子你的jbuilder就可用選別的字型了
如有問題再討論吧,因為之前我還有做了一些事情,但沒有成功,不知那些動作是否有相關~~

圖:

阅读(2314) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~