true type font create in fc3
-choose the true type fonts' location, e.g.: /usr/share/fonts/zh_CN/TrueType
copy windows fonts(e.g.:tahoma.ttf, tahomabd.ttf, simsun.ttc, mingliu.ttc) to: /usr/share/fonts/zh_CN/TrueType, and rename *.ttc to ttf
-change the truetype fonts' access attributes
chmod 744 /usr/share/fonts/zh_CN/TrueType/*
-if the font is scalable (e.g.: SimSun), need to generate the scale file first at the truetype font's directory.
mkfontscale && mkfontdir
-modifty the file: /etc/X11/xorg.conf (this file is the xorg version of XF86Config), and add your true type's font path to the FontPath.
FontPath "/usr/share/fonts/zh_CN/TrueType/"
-execute fontcashe
fc-cache -v -f
copy windows fonts(e.g.:tahoma.ttf, tahomabd.ttf, simsun.ttc, mingliu.ttc) to: /usr/share/fonts/zh_CN/TrueType, and rename *.ttc to ttf
-change the truetype fonts' access attributes
chmod 744 /usr/share/fonts/zh_CN/TrueType/*
-if the font is scalable (e.g.: SimSun), need to generate the scale file first at the truetype font's directory.
mkfontscale && mkfontdir
-modifty the file: /etc/X11/xorg.conf (this file is the xorg version of XF86Config), and add your true type's font path to the FontPath.
FontPath "/usr/share/fonts/zh_CN/TrueType/"
-execute fontcashe
fc-cache -v -f

0 Comments:
Post a Comment
<< Home