如何在netscape中使用中文

由 北南南北 在 04-30-2002 13:48 发表:

如何在netscape中使用中文

如何在netscape中使用中文

名称大致上是:netscape-v30?-export.?????????????-linux.tar.gz

档案取回後依照以下的步骤安装:

步骤一:

在你欲存放 Netscape 的目录下解开档案:

tar -zxpvf netscape-v20-export.i486-unknown-linux.tar.gz

解开之後会在目前的目录下产生以下的档案及目录:

-r--r--r-- 1 root wheel 12905 Jan 24 10:19 LICENSE

-r--r--r-- 1 root wheel 144626 Jan 24 10:03 Netscape.ad

-r--r--r-- 1 root wheel 8717 Jan 24 10:19 README

-r--r--r-- 1 root wheel 4674 Oct 18 1994 XKeysymDB

-r-xr-xr-x 1 root wheel 3296 Mar 14 1995 hot-convert.sh

-r-xr-xr-x 1 root wheel 8196 Jan 24 09:26 movemail*

drwxr-xr-x 2 root wheel 1024 Jan 24 10:19 movemail-src/

-r--r--r-- 1 root wheel 763742 Jan 24 10:19 moz2_0.zip

-r-xr-xr-x 1 root wheel 4014084 Jan 24 10:20 netscape*

drwxr-xr-x 2 root wheel 1024 Jan 24 10:19 nls/

并且於 Home directory 中产生 /.netscape 的目录,

步骤二:

详细阅读 README 中的安装说明後,直接执行 Netscape (於 X-window 中),随後会出现一个视窗,询问你是否要将 Cache 及一些设定档安装於$HOME/.netscape 中,选确定,此时你已经成功的安装了 Netscape ,你可以利用 netscape 到处看看,是否正确执行无误.....,但是当你接上中文的Web site时,你会发现怎麽中文的显示有些异常,看到的是一堆乱码...

步骤三:

不要慌,你必须调整一些选项才能正确的显示中文:

1.选择 Options -> Language Encoding -> Chinese(Big5)

硬碟嘎嘎响了几声之後,应该可以显示出中文字来了

2.你可以在 Options -> General Preference ... -> Fonts

中选择你想要的字形,在 For the Encoding 选择 Taiwanese(x-x-big5),

更改字体及其大小....

3.大功告成了....

步骤四:

如果你照上面的安装方式还是无法看见中文,那可能是你并未设定好中文字型让netscape使用. 设定的方法如下:

---------------------------------------

安装设定中文字型让netscape使用说明:

1)先去ftp站抓中文字形放到/usr/X11/lib/X11/fonts/chinese里

^^^^^^^

这个是自己造的目录呀!

假设你抓回来了这 7 种字型档.

root /usr/X11/lib/fonts/chinese 56 % ls -al

total 10419

drwxr-xr-x 2 root root 2048 Nov 15 16:57 ./

drwxr-xr-x 10 root root 1024 Sep 21 10:12 ../

-rw-r--r-- 1 root root 1243784 Sep 22 14:52 et15.pcf

-rw-r--r-- 1 root root 1748328 Sep 22 14:52 et24m.pcf

-rw-r--r-- 1 root root 1259524 Sep 18 15:57 taipei15.pcf

-rw-r--r-- 1 root root 1479816 Sep 18 15:58 taipeik20.pcf

-rw-r--r-- 1 root root 1695864 Sep 18 15:59 taipeil24.pcf

-rw-r--r-- 1 root root 1695864 Sep 18 15:59 taipeir24.pcf

-rw-r--r-- 1 root root 1479816 Sep 18 16:00 taipeis20.pcf

  1. 在/usr/X11/lib/fonts/chinese/里 打

mkfontdir

(这程式会造出一个叫fonts.dir的档,里面记录你这个目录里有的字型,就是/usr/X11/lib/fonts/chinese/目录里有那些字型会记录在fonts.dir里呀)

fonts.dir的内容如下:

7

taipeik20.pcf taipeik20

taipeil24.pcf taipeil24

taipeis20.pcf taipeis20

taipeir24.pcf taipeir24

et24m.pcf et24m

et15.pcf et15

taipei15.pcf taipei15

  1. 在/usr/X11/lib/fonts/chinese/里自己造出一个fonts.alias的档,内容是描述字型的格式.

fonts.alias的内容如下: (就是要这种格式,不然netscape找不到你的字型)

-eten-kai-medium-r-normal-fs-20-200-75-75-c-200-big5-0 taipeik20

-eten-li-m

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus