March 17, 2004

好用的 X window 字型管理工具 ttfm

http://www.study-area.org/tips/setfont/index.html

wget ftp://cle.linux.org.tw/pub/CLE/i386/RedHat/RPMS/ttfm-1.0-6.i386.rpm
rpm -ivh ttfm-1.0-6.i386.rpm

自 MS Windows 取得 mingliu.ttc
ttfm --add mingliu.ttc

編輯 /etc/X11/XF86Config-4
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/ja/TrueType"
FontPath "/usr/share/fonts/zh_TW/TrueType"
# FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "GLcore"
Load "dri"
Load "glx"
Load "extmod"
# Load "freetype"
# Load "type1"
Load "xtt" #←加入這一列
EndSection

裝完細明體, 設好後, 字會糊糊的, 若是用 GNOME, 要修改
/etc/gnome/gnomerc
把 XFT 拿掉...
在 gnome-session 前加入
export GDK_USE_XFT=0

修改預設輸入法為倉頡
編輯 /etc/chinese/xcin/xcinrc
把 DEFAULT_IM 改為 cj

(define zh_TW.Big5
'((DEFAULT_IM "cj")

Posted by pank at March 17, 2004 02:00 PM
Comments
Post a comment













Remember personal info?