Article title: full Mandrake9.0 beautification. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
This is done under the guidance of the Chinese document "connermo.
1. create a directory: mkdir/usr/X11R6/lib/X11/fonts/TrueType
2. in CP windowsXP, simsun. ttc, tahoma. ttf, and tahomabd. ttf are stored in the preceding Directory. change simsun. ttc to ttf.
Generate: fonts. dir (this command: mkttfdir> fonts. dir) to make it similar to the following:
Then cp fonts. dir fonts. scale, or cat fonts. dir> fonts. scale
3. modify/etc/X11/XF86Config-4, add:
FontPath "/usr/X11R6/lib/X11/fonts/TrueType" must be added before the line unix/:-1.
Add the following in the module section:
Load "xtt"
(Note that the "load type1" and "load freetype" modules are commented out .)
Similar to this:
# Load type1
# Load freetype
4. copy the encoding file encodings. dir to the directory.
5. modify/etc/gtk/gtkrc. zh_CN
Change the fontset to "-misc-simsun-medium-r-normal -- 14-*-gb2312.1980-0,
-*-Medium-r-normal -- 14-*-gb2312.1980-0, *-r -*"
6. display the simsun font in Gnome2 (this is the advice of younker)
The first problem to be solved is that xft is not used.
Modify the gtk2.sh file under/etc/profile. d/and change GDK_USE_XFT = "1" to GDK_USE_XFT = "0"
Then modify/etc/pango/pangox. alias file. check the content in it and you will know what to do. put your simsun font in front of the list of each font.
Here is my:
# File defining aliases of PangoFontDescription to X font set
#
# Family style variant weight stretch XLFD
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.