[求助]怎样将MS的字体文件复制到ubuntu?[已解决]

系统字体配置、中文显示和输入法问题
回复
yesilike
帖子: 203
注册时间: 2006-01-25 15:18

[求助]怎样将MS的字体文件复制到ubuntu?[已解决]

#1

帖子 yesilike » 2006-07-03 2:21

我安装的是6.06,原Windows下C盘名为WindowsXP,自动挂载到ubuntu桌面,应该是hda1,我应该怎样复制其下面的字体文件?
其在windows下面的路径为:C:/WINDOWS/Fonts/simsun.ttc

我试过以下几种方法,都说“没有那个文件或目录“
sudo cp /WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录

sudo cp /hda1/WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/hda1/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录

sudo cp /WindowsXP/hda1/WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/WindowsXP/hda1/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录
上次由 yesilike 在 2006-07-03 11:09,总共编辑 1 次。
中国采购员 全力推广开源免费的ubuntu.
http://www.buyer.org.cn
图片
成为采购员的最佳捷径!免费的采购知识,采购培训...
头像
catinsnow
帖子: 773
注册时间: 2005-08-02 7:23
来自: 上海

Re: [求助]怎样将MS的字体文件复制到ubuntu?

#2

帖子 catinsnow » 2006-07-03 3:00

yesilike 写了:我安装的是6.06,原Windows下C盘名为WindowsXP,自动挂载到ubuntu桌面,应该是hda1,我应该怎样复制其下面的字体文件?
其在windows下面的路径为:C:/WINDOWS/Fonts/simsun.ttc

我试过以下几种方法,都说“没有那个文件或目录“
sudo cp /WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录

sudo cp /hda1/WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/hda1/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录

sudo cp /WindowsXP/hda1/WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
cp: 无法 stat “/WindowsXP/hda1/WINDOWS/Fonts/simsun.ttc”: 没有那个文件或目录
默认没有这个目录,你可以建一个,或拷到/usr/share/fonts下的任一目录也可以.
Ubuntu Intrepid
#P4 2.4
P4 2.4C
#1024MB
2048MB
#120G
500G+120G
Nvidia FX5700
#ATI9100 --拆了,受不了ATI的驱动.
yesilike
帖子: 203
注册时间: 2006-01-25 15:18

#3

帖子 yesilike » 2006-07-03 9:45

Linux下的目录是已经建好了的。
关键是怎样从挂载的windows下拷贝.路径不知道是该怎样?
中国采购员 全力推广开源免费的ubuntu.
http://www.buyer.org.cn
图片
成为采购员的最佳捷径!免费的采购知识,采购培训...
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#4

帖子 karron » 2006-07-03 10:27

默认情况下windows的分区都挂载在/media目录,你先看看.

应该是 /media/hda1/.........

在输入命令的时候用TAB键补齐,可以方便不少,注意大小写的问题.你可以先用ls看看路径是什么
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
yesilike
帖子: 203
注册时间: 2006-01-25 15:18

#5

帖子 yesilike » 2006-07-03 11:08

4楼说的对,我已经搞好了,谢谢!
lihui@lihui-BuyerOrgCn:~$ sudo cp /media/hda1/WINDOWS/Fonts/simsun.ttc /usr/share/fonts/zh_CN/TrueType/
Password:
lihui@lihui-BuyerOrgCn:~$ sudo cp /media/hda1/WINDOWS/Fonts/SURSONG.TTF /usr/share/fonts/zh_CN/TrueType/
lihui@lihui-BuyerOrgCn:~$ sudo cp /media/hda1/WINDOWS/Fonts/tahoma.ttf /usr/share/fonts/zh_CN/TrueType/
lihui@lihui-BuyerOrgCn:~$ sudo chmod 644 /usr/share/fonts/zh_CN/TrueType/*
lihui@lihui-BuyerOrgCn:~$ cd /usr/share/fonts/zh_CN/TrueType/
lihui@lihui-BuyerOrgCn:/usr/share/fonts/zh_CN/TrueType$ sudo mkfontscale
lihui@lihui-BuyerOrgCn:/usr/share/fonts/zh_CN/TrueType$ sudo mkfontdir
lihui@lihui-BuyerOrgCn:/usr/share/fonts/zh_CN/TrueType$ sudo fc-cache /usr/share/fonts/zh_CN/TrueType/
lihui@lihui-BuyerOrgCn:/usr/share/fonts/zh_CN/TrueType$ sudo gedit /etc/fonts/fonts.conf
lihui@lihui-BuyerOrgCn:/usr/share/fonts/zh_CN/TrueType$
中国采购员 全力推广开源免费的ubuntu.
http://www.buyer.org.cn
图片
成为采购员的最佳捷径!免费的采购知识,采购培训...
回复