Previous Next Contents

7. Displaying Chinese in Netscape

There are many web pages on the Internet devoting to this topic. Netscape (better use version 2.1 and up) supports both GB and BIG5. Hare are three steps to view Chinese(BIG5) in Netscape

  1. Setup X fonts as in ``Section font-ref''
  2. Bring up netscape and choose menu Options/Document Encoding/Tranditional Chinese (Big5)
  3. In menu Options/General Preferences/fonts choose the font you want to use.
But you may wonder why you can only use Fixed(HKU) Size 16.0. It turns out you need to edit the /usr/X11R6/lib/X11/app-defaults/Netscape to get more fonts. Suppose you have the following BIG5 fonts
# xlsfonts | grep big5
-hku-fixed-medium-r-normal--0-0-72-72-c-0-big5.hku-0
-hku-fixed-medium-r-normal--16-160-72-72-c-160-big5.hku-0
-kc-kai-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
-kc-kai-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
-kc-kai-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
-kc-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
-kc-ming-medium-r-normal-fantizi-15-150-75-75-c-160-big5.eten.3.10-1
-kc-ming-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
-uw-ming-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
-uw-ming-medium-r-normal-fantizi-16-160-75-75-c-160-big5.eten.3.10-1
-uw-ming-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
-uw-songti-medium-r-normal-fantizi-0-0-75-75-c-0-big5.eten.3.10-1
-uw-songti-medium-r-normal-fantizi-20-200-75-75-c-200-big5.eten.3.10-1
-uw-songti-medium-r-normal-fantizi-24-240-75-75-c-240-big5.eten.3.10-1
Add this line to your /usr/X11R6/lib/X11/app-defaults/Netscape
*documentFonts.charset*big5.eten.3.10-1:              x-x-big5
Now netscape can use all of them.


Previous Next Contents