CJK-Howto ( Chinese-Japanese-Korean )
|
|
|
|
|
| Font FAQ |
|
| Font Servers |
|
| Installing New Fonts |
XFree86.org Installing fonts
Suse.de/~mfabian Fontconfig
FreeDesktop.org fontconfig
gnome.org fcfix.py fix for fc-cache
Mail-Archive.com fonts.cache
- Create a New Font
- mkfontdir /usr/X11R6/lib/fonts/New
creates fonts.dir
aliasName ... full-font-name-and-sizes-unicode-format
- mkfontscale /usr/X11R6/lib/fonts/New
- fc-cache /usr/X11R6/lib/fonts/New
XFree86.org Installing fonts
- Font directories
/usr/X11R6/lib/X11/fonts
/usr/local/X11R6/lib/X11/fonts
/usr/share/anywhere
/usr/local/some/other/place
~/.fonts
- Installing TT fonts
cp lucbr.ttf ~/.fonts
fc-cache
creates .fonts.cache.1 ??
- Installing BitMap fonts
bdftopcf courier12.bdf
gzip courier12.pcf
cp *.pcf.gz /usr/local/share/fonts/bitmap
mkfontdir /usr/local/share/fonts/bitmap
- Installing Scalable fonts ( Type1 Speedo TrueType )
mkfontscale /usr/local/share/fonts/Type1
mkfontdir /usr/local/share/fonts/Type1
xset +fp /usr/local/fonts/Type1
- Installing Scalabe CID-keyed fonts
mkfontdir /usr/local/share/fonts/CID
mkcfm /usr/local/share/fonts/CID
- Temporarily Installing the Fonts for testing
xset +fp /usr/local/fonts/Type1 ( the path to the new fonts you're adding )
xset rehash
- vi /etc/X11/XF86config or ( /etc/X11/xorg.conf )
...
# The FontServer ( xfs ) runs on port 7100
FontPath "unix/:7100"
...
FontPath "/usr/X11R6/lib/X11/fonts/chinese"
FontPath "/usr/X11R6/lib/X11/fonts/japanese"
FontPath "/usr/X11R6/lib/X11/fonts/korean"
- Configure the X11 application to use the new Fonts
- You have to restart X11 for these to take effect
- For All X11 apps
~/.Xresources
~/.Xdefaults
- For just xterm
/usr/X11R6/lib/X11/app-defaults/XTerm
/etc/X11/app-defaults/XTerm
- Restart the FontServer
/etc/rc.d/rc.xfs stop
/etc/rc.d/rc.xfs start
- Restart X11
|
| Font Conversions |
Triptico.com Unicode, UTF-8 w/ code
MisCoranda.com Convert ISO-8859-1 to utf-8
w3.org iconv.sh - convert iso-8859-1 to utf-8
FreeTDS.org UTF-8 - iconv
gnu.org libiconv
FreeTDS.org
m17n.org
Suse.de/~mfabian Change Region.* to Region.UTF-8
ja_JP -> ja_JP.UTF-8
ja_JP.eucJP -> ja_JP.UTF-8
ko_KR.eucKR -> ko_KR.UTF-8
home.no.net Linux Internationalization HOWTO
- Convert existing locale into utf-8
- localedef -f UTF-8 -i en_US en_US.utf8
- Convert *.bdf to *.pcf
- bdftopcf font.bdf > font.pcf
- mkfontdir /usr/lib/X11/fonts/misc
- xset fp+ font_location
- xset fp rehash
- fc-cache
|
| CJK Installed Font Availability |
|
| CJK Font Downloads |
|