CJK-Howto ( Chinese-Japanese-Korean )
|
|
|
|
|
| CJK Config Test |
|
| CJK Fonts Testing |
|
| CJK Font Server Testing |
- Checking the Font Server
- Manually invoking X11 Font Server
- xset -q
# xfs already runninga
unix:7100
# to manually add it
xset fp+ unix:7100
xset fp rehash
- List of Installed Fonts
|
| CJK Environment Variables |
Suse.de/~mfaian locales-env-var
Suse.de/~mfaian local-examples
- Define the primary variables
export LANG=ja_JP.utf-8
export LC_ALL=ja_JP.utf-8
- use the ( *.utf-8, *.jis, .. ) fonts that is installed on your system
- List of valid locales
locale
LANG=en_US.UTF-8 ---> LANG was explicitly assigned
LC_CTYPE="en_US.UTF-8" ---> LC_CTYPE inherited its value
- List of valid locales
locale -a
/usr/X11R6/lib/X11/locale
- List of valid ( supported ) unicode locales
|
| Installed CJK Font Availability |
- Checking the FontPaths
- Checking for Installed Chinese Fonts
- Simplified Chinese
- Traditional Chinese
- Checking for Installed Japanese Fonts
xlsfonts | egrep -i "jis"
- Checking for Installed Korean Fonts
xlsfonts | egrep -i "ksc|ksx"
|
| Installing New Font |
|
| Misc Font Commands |
x.org xlfd = X Logical Font Descriptor
- xlsfonts
- Unicode support
?? is having duplicate entries a bad thing ??
- chkfontpath --add /usr/local/fonts/new-stuff
- ttmkfdir -m 50 -o fonts.scale ( trueType font )
- gtkfontsel
- Find the alias ( font.dir )
- xfd -fn 10x20
10x20 "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1"
- xfd -fn "Fixed 10"
|
| Font Tests with Xterm |
- Define your app-defaults files
- Make sure xterm is compiled with "wide char" unicode capability
./configure --enable-wide-chars
- xterm
xterm -version ( should be 205 or later )
- kterm
kterm -version ( should be 6.2.0 or later )
- rxvt
rxvt -version ( should be v2.7.10 or later )
|