原文:
22. Are there any international font packages for perl/Tk?
In principle you may specify the -font configuration option on all your Button, Entry, Label, Message, etc. widgets. In addition to the Unix programs xfontsel and xlsfonts you may find xset useful for determining and/or specifying fonts - especially international ones.
KOBAYASI Hiroaki <kobayasi@sowa.is.uec.ac.jp> has converted the Tcl/Tk "japanization" by <nisinaka@sra.co.jp> so that it may be used with perl/Tk. It is presently available (the current README file is in Japanese) from the following ftp site: ftp://ftp.sowa.is.uec.ac.jp/pub/Lang/perl5/Tk/
From the author's own description: Currently, the "japanization patch for perl/Tk" enables: [1] To show kanji & ASCII (by choosen kanji-font) in every widget. [2] To edit kanji (double width of ASCII) correctly in Text & Entry. [3] To support of Kanji Input method. (tkKinput.c) [4] Automatic kanji-code-detection & conversion with 'insert/get'. Supports: "JIS(Japanese Industrial Standard)", "MS-KANJI", "EUC".& the patch lacks: [5] by manual Kanji-code conversion. (JIS <=> MS-KANJI <=> EUC) [6] 'Good' interface to specify kanji-code used in internal. (tkWStr.c) [7] Documentation in English about [1-6]. # but, since interface-change is suspected in near future, # documenting them is ...I thought that[5-7] was not enough for world-people, but already worthfor natives. So I announced it on "fj.lang.perl".
译文:
22. Perl/Tk有没有通用的字体包?
原则上说,我们总是可以使用-font配置选项来设置诸如按钮、输入框、标签等组件的字体。另外,在Unix系统中,还可以通过使用xfontsel和xlsfonts命令来获取该系统上可用的字体的信息(这非常有用!)
(译者注:原文下面的部分是关于日文字体的显示,我就偷懒不翻了……抵制日“祸”嘛!)