fonts

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
pollux
帖子: 4
注册时间: 2007-08-07 22:44

fonts

#1

帖子 pollux » 2007-08-07 23:04

你们好 ^^

我要一个问题。。。

我的ubuntu是英语 (我是法国人) 我可以写中文但是我不可以换fonts ^^ (i hope you understand what i say ^^)

My ubuntu is in english, i can write in chinese, but i can't change the chinese fonts from this website: http://www.chine-nouvelle.com/ressource ... teres.html cool fonts

the fonts are in TTF, i put them in ~/.fonts and then I did sudo fc-cache -f -v but neither inkscape, neither writer, neither gimp wants to use them :(

中国人朋友臂助我!对不起 for my english。。。

谢谢!
头像
zshmail
帖子: 270
注册时间: 2006-07-03 9:12

#2

帖子 zshmail » 2007-08-08 13:35

先把字体文件copy到/user/share/fonts/xxx,xxx为任意目录

cd xxx
chmod 744 *
sudo mkfontscale
sudo mkfontdir
fc-cache
头像
zshmail
帖子: 270
注册时间: 2006-07-03 9:12

#3

帖子 zshmail » 2007-08-08 14:01

上面的方法,刚刚我测试了一下,在Gaim中的MSN和Gimp下都可以使用不同中文字体。

另还有一个方法,将字体文件COPY至fonts:///文件夹,其作用相当于将字体文件COPY到./fonts下,且不用进行其它设置。同样在Gaim中的MSN和Gimp下都可以使用不同中文字体。
头像
alexis715
帖子: 266
注册时间: 2007-07-26 16:08

#4

帖子 alexis715 » 2007-08-08 18:09

Du courage

Vous pouvez essayer la façon que zshmail a dit,
si vous mettez les TTF dans le dossier fonts:///, ça va etre résolu. C'est plus simple.
头像
imick
帖子: 88
注册时间: 2006-02-21 23:36

#5

帖子 imick » 2007-08-09 11:03

I am wondering where the fonts:/// folder is. Is it the one when you choose System->Preferences->Font, and then details->Go to font folder?

pollux, your Chinese is not bad. Keep it up!
=[零]=
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#6

帖子 Beetle » 2007-08-09 16:28

把你要的字体copy到/usr/share/fonts/下,然后执行sudo fc-cache -f -v
然后在fonts下应该能看见你刚才所下载的那些字体,选择一个,编辑.fonts.conf(可以参考我给出的),把你选择的字体加进去就可以了!

BTW1:我给出的只是我的配置,在<add by Beetle>所指的箭头中添加你自己选择的字体
BTW2:也可以直接执行sudo apt-get install ttf-arphic-uming
sudo fontconfig-voodoo -f -s zh_CN
让中文看起来更漂亮点……
附件
fonts.conf.tar.gz
(3.67 KiB) 已下载 69 次
pollux
帖子: 4
注册时间: 2007-08-07 22:44

#7

帖子 pollux » 2007-08-13 18:23

zshmail 写了:先把字体文件copy到/user/share/fonts/xxx,xxx为任意目录

cd xxx
chmod 744 *
sudo mkfontscale
sudo mkfontdir
fc-cache
谢谢你的回复,

我要新的问题:
Couldn't determine full name for HDZB_10.TTF
Couldn't get family name for HDZB_10.TTF
Couldn't determine full name for HDZB_24.TTF
Couldn't get family name for HDZB_24.TTF

我想他不喜欢中文的名字, 也许我应该转变TTF file :?:
pollux
帖子: 4
注册时间: 2007-08-07 22:44

#8

帖子 pollux » 2007-08-13 18:31

imick 写了:I am wondering where the fonts:/// folder is. Is it the one when you choose System->Preferences->Font, and then details->Go to font folder?

pollux, your Chinese is not bad. Keep it up!

谢谢,i have to admit i use this website: http://www.mandarintools.com/worddict.html very useful, it has the pinyin too!
pollux
帖子: 4
注册时间: 2007-08-07 22:44

#9

帖子 pollux » 2007-08-13 18:47

Beetle 写了:把你要的字体copy到/usr/share/fonts/下,然后执行sudo fc-cache -f -v
然后在fonts下应该能看见你刚才所下载的那些字体,选择一个,编辑.fonts.conf(可以参考我给出的),把你选择的字体加进去就可以了!

BTW1:我给出的只是我的配置,在<add by Beetle>所指的箭头中添加你自己选择的字体
BTW2:也可以直接执行sudo apt-get install ttf-arphic-uming
sudo fontconfig-voodoo -f -s zh_CN
让中文看起来更漂亮点……
谢谢你的回复

在哪儿把.fonts.conf加进去?我听不懂!

sudo fontconfig-voodoo -f -s zh_CN 是干什么用的?
头像
imick
帖子: 88
注册时间: 2006-02-21 23:36

#10

帖子 imick » 2007-08-15 11:43

Put .fonts.conf under your home folder (~/)

About fontconfig-voodoo, see here:
about50371.html&highlight=&sid=249ac6ce ... da54d7e959

Hope this helps.
=[零]=
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

#11

帖子 jarryson » 2007-08-17 4:26

法国没有ubuntu么?上自己的母语网站查资料比较轻松吧
回复