LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 837|回复: 3

GNOME 桌面下如何安装windows 字体?

[复制链接]
发表于 2006-5-9 21:18:08 | 显示全部楼层 |阅读模式
请教问题RT。
发表于 2006-5-10 01:44:15 | 显示全部楼层
METHOD 1 (Fast Method)
  • Create a folder called .fonts in your home folder (/home/<username>/.fonts).
  • Copy thr TTF fonts into the .fonts folder you just created.
  • Relogin and you should have access to TTF (TrueType Fonts)


METHOD 2 (A bit longer)
For TTF to be available in OpenOffice and Mozilla:
  • Copy fonts to /usr/X11R6/lib/X11/fonts/TTF
  • Create directory /usr/share/fonts/TTF
  • Also copy fonts into /usr/share/fonts/TTF
  • Edit the file /usr/share/fonts/fonts.cache-1 adding a line that says "TTF" 0 ".dir"
  • Relogin and you should have access to TTF (TrueType Fonts)
回复 支持 反对

使用道具 举报

发表于 2006-5-10 01:45:15 | 显示全部楼层
Installing fonts in GNU/Linux

Both the GNOME and KDE desktop environments have special ways of adding fonts. The "old" way is to make a font directory in /usr/lib/X11/fonts/, add your font files to it, then modify the ~/.fonts file and the /etc/X11/xorg.conf config file. Since most desktop GNU/Linux users are only using one, simple environment, it makes more sense to explain how to add fonts through GNOME and KDE. If you insist on doing it by hand, the Gentoo Wiki has this guide, and here's a similar one for OpenBSD. Between the two of those, you should be able to figure out what to do.

Do you know what desktop environment you're using? If so, skip down to the appropriate section. If not, let's figure it out. Users of Linspire, Mandriva, SUSE, MEPIS, and Xandros have KDE by default. Ubuntu, Fedora Core, and Red Hat Enterprise Linux use GNOME by default. If you don't use any of these distros, you can usually identify GNOME by its usage of two menus -- one at the top, and a taskbar at the bottom. KDE only has the bottom menubar, which somewhat resembles Microsoft Windows.

KDE

First, insert your font backup CD. Click on the K menu (the menu button in the lower left corner), then click on Control Center. If you don't see a Control Center icon, you may have to look around in the menu until you find it.

When the Control Center window comes up, click on the System Administration option in the list in the left pane. On most systems, System Administration is the last option. This will bring up a submenu; select Font Installer. The right pane will change to the font installation utility. Click the Administrator Mode button, then type in your root password when prompted. If you do not have an Administrator Mode button or do not have your root password, then don't worry about it and continue on with these instructions.

Click on the Add Fonts button. A file dialogue will appear; in it, navigate to your CD drive. Once you're in the directory with all of your font files, press ctrl-a to select all of them, then click the Open button. It may take a few minutes for all of the files to load. Once the process is finished, close the Control Center, then log out of KDE. You must re-log in order to use the new fonts in your programs.

GNOME

When you insert your font backup CD, it is usually automounted and a CD icon appears on your desktop. If it does not appear, you will have to mount the dirve manually -- see your distribution documentation for details on how to do this. When the CD icon appears, double-click on it. A Nautilus file manager window will come up. Open the File menu in that window and select the Open Location option. This will bring up a small dialogue with an address window in it. Erase the address that is currently occupying the field, then type this in:

Fonts:///

That's the word Fonts followed by a colon and three slashes. When you've entered that address, press the Enter key. The GNOME font directory will open in a separate window. You should now have two windows open: your font backup CD, and your GNOME font folder. Select all of the files on your backup CD by choosing Select All from the Edit menu, then drag and drop them into the GNOME font folder. The transfer may take a moment to complete if you have a lot of fonts.

When that's done, you can close both windows and eject your font backup CD. Log out of GNOME for the font changes to take place. The next time you log in, you'll have all of your Windows fonts available to you in your GNU/Linux programs.

Copyright 2006 Jem Matzan.

from:http://www.softwareinreview.com/cms/content/view/32/1/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-10 06:43:28 | 显示全部楼层
非常详细,谢谢Thruth的回复,按照第二种方法已成功安装了simsun.ttc等windows fonts ,再次谢谢你帮我解决了很多问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表