(3) Download the Fonts.dir file and save it to/usr/system/fonts, and then copy Fonts.dir to a renamed Fonts.scale.
(4) Download the fonts.conf file and save it under/usr/x11r6/etc/fonts/to overwrite the original file.
(5) Edit the/etc/x11/xf86config file and modify the contents of the section "Files" and section "Module" fields as follows:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/system/fonts"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "xtt"
# Load "record"
Load "xtrap"
Load "speedo"
# Load "type1"
EndSection
If you are using a wheel mouse, just replace the contents of the section "InputDevice" field with the following to enable the mouse wheel to take effect.
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
(6) Download the Gtkrc.zh_cn file and save it under/usr/x11r6/share/themes/default/to overwrite the original file.
Following the above methods, you may find that most of the X program fonts are displayed normally, but some of the GTK 1.x design of the program font is not normal, in fact, the solution is simple, just want to/usr/x11r6/share/themes/default/ The Gtkrc.zh_cn file is copied to the previous user's home directory and named. Gtkrc.mine.
(7) Now the desktop does not have the ability to handle the Chinese bold italic, for this reason, we must install the patch (this patch by the Linuxsir Forum of Hami Melon production, click to download), the download of the patch program saved to/TMP, and then perform the following command to install the patch.
#tar xvfj FreebsdFontsHmg.tar.bz2
#cd FreebsdFontsHmg
#pkg_add -f *.*
Since this patch will automatically overwrite the contents of the/usr/x11r6/etc/fonts/fonts.conf file, we also need to download the fonts.conf file and save it to the/usr/x11r6/etc/fonts/directory to overwrite it.
Exit the X desktop and re-enter to make the above changes effective. Click "Application/Desktop Preferences/fonts" in the GNOME environment and set them as shown in Figure 2.
Figure 2
Start the Mozilla browser, turn on edit/Preferences/appearance/font, and set the appearance font to Tahoma 9, as shown in Figure 3.
Figure 3
If the user has Xmms installed, you will find that the use of XMMS play MP3 can not display the normal Chinese label, in fact, the solution is very simple, just to open the XMMS, press the shortcut key "Ctrl+p" Open the Preferences dialog box, and then switch to the Font tab, select the "Use font set" and " Use the X Font checkbox and enter the-adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso10646-1,-in the text box. Misc-simsun-medium-r-normal-*-12-*-*-*-c-*-gbk-0 "can be, as shown in Figure 4.
Figure 4