Red Hat Linux 7.2 Chinese

zhaozj2021-02-11  201

Red Hat Linux Chinese

First. First, select Chinese support during the installation. Installation Complete the directory where Windows is located,

Copy the font file Simsun.ttf (win98) or SIMSUN.TTC (Win2000) to / usr / x11r6 / lib / x11 / fonts / trueType

In the directory, then run

TTMKFDIR> FONTS.DIR II. Then enter / etc / gnome edit

gtkrc.zh_cn

All of the files

Fontset = "-Misc-fixed-medium-r-NORMAL - 14- * - * - * - * - * - GB2312.1980-0" All changed to fontset = "-misc-simsun-medium-r-normal- -14 - * - * - * - * - * - GB2312.1980-0 "Archive exits. III. Go to / etc / x11, edit file

XF86CONFIG-4

Modified into section "Fontpath" UNIX /: 7100 "FontPath" / usr / x11r6 / lib / x11 / fonts / trueType "endsection

In the modules section of this file, add the XTT module and must cancel the FreeType module, and the two modules cannot be used simultaneously. E.g:

Section "Module" Load "dbe" # Double-buffering # Load "GLcore" # OpenGL support # Load "dri" # Direct rendering infrastructure Load "glx" # OpenGL X protocol interface Load "extmod" # Misc. Required extensions Load "v4l "# Video4linux # loading" pex5 "# pHIGSI for x 3d environment (obsolete) # loading" record "# x Event recorder # loading" xie "# x Image Extension (Obsolete) # you only need NEd The Following Two Modules if you do not NOT Use xfs. # loading "freetype" # TrueType Font Handler Load "xtt" # TrueType Font Handler # loading "type1" # adobe type 1 font handler endsection

Note: This method does not need to close XFS, relatively simple.

4. Displaying the Chinese file name under Windows If you still have a Chinese Windows 95/98 / ME, you can now display the Chinese file name.

How to use: Additional options after mount

-o codepage = 936, octharset = cp936

For permanent entry into force, you can modify

/ ETC / FSTAB

For example, my / etc / fstab file part is:

/ dev / hda7 / mnt / play vfat defaults, codepage = 936, ocharset = cp936 0 0 0 / dev / hdb5 / mnt / source vfaults, codepage = 936, iocharset = cp936 0 0

Note: CodePage = 936, IOCHARSET = CP936

V. V. Sets Gnome's TrueType Chinese font (wants gnome to display SIMSUN to modify the following files) In order to make the TrueType fonts we set can be used under GNOME, you must modify the GNOME resource profile. edit

/etc/gtk/gtkrc.zh_cn

Set the font as follows:

Style "gtk-default-zh-cn" {fontset = "-misc-simsun-medium-r-normal - 14-0-0-p-0 - * - *"} class "gtkwidget" style "GTK -default-zh-cn "

Sixth. Edit

/etc/gnome/gtkrc.zh_cn

Set all FontSet to:

FontSet = "-Misc-SIMSUN-Medium-R-NORMAL - 14 - * - * - * - * - * - GB2312.1980-0"

Set up the TrueType Chinese font, in order to make our TrueType fonts can be used under GNOME,

You must modify the GNOME resource profile.

Seven. Edit

/etc/gtk/gtkrc.zh_cn

Set the font as follows:

Style "gtk-default-zh-cn" {fontset = "-misc-simsun-medium-r-normal - 14-0-0-p-0 - * - *"} class "gtkwidget" style "GTK -default-zh-cn "

Eight. Edit again

/etc/gnome/gtkrc.zh_cn

Set all FontSet to:

FontSet = "-Misc-SIMSUN-Medium-R-NORMAL - 14 - * - * - * - * - * - GB2312.1980-0"

Over

转载请注明原文地址:https://www.9cbs.com/read-5583.html

New Post(0)