freebsd-ports/print/pips800/files/readme_for_zh
2001-11-07 17:44:36 +00:00

32 lines
1 KiB
Text

Notice for "env LANG=zh_CN pips800" and "env LANG=zh_TW.Big5 pips800"
(1) Installing zh-linux-gtk and zh-cle_base leads not to work well
commands with the other locales. So this port depends on yet another
linux_locale for Chinese: chinese/linux_locale.
(2) You add the following two files by hand:
[/compat/linux/etc/gtk/gtkrc.zh_CN.GB2312]
style "default" {
fontset = "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1,\
-*-*-medium-*-*--16-*-*-*-*-*-gb2312.1980-*"
}
class "GtkWidget" style "default"
[/compat/linux/etc/gtk/gtkrc.zh_TW.Big5]
style "default" {
fontset = "-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1,\
-*-*-medium-*-*-*-16-*-*-*-*-*-big5-*"
}
class "GtkWidget" style "default"
and make a symlink by the next command:
# ln -s gtkrc.zh_CN.GB2312 /compat/linux/etc/gtk/gtkrc.zh_CN
(3) You have to install suitable fonts for zh_TW.Big5,
e.g. zh-cmexfonts.
(4) But "env LANG=zh_CN pips800" dose not work well even if you do the
above (1) through (3).