Freebsd Chinese HOWTO
Total Page:16
File Type:pdf, Size:1020Kb
FreeBSD Chinese HOWTO The Chinese FreeBSD Documentation Project FreeBSD Chinese HOWTO by The Chinese FreeBSD Documentation Project Published February 2001 Copyright © 1999, 2000, 2001, 2002, 2003 by Shen Chuan-Hsing 本文說明如何在 FreeBSD 的系統上使用中文。其中包括了在 FreeBSD 系統上使用中文可能遭遇的問題,以 及如何取得, 安裝與設定各種不同的中文軟體,以及 FreeBSD 的中文化工作等。 如果您在使用 FreeBSD/Linux 上遇到任何的中文問題, 都歡迎寫信跟我討論,當您遇到的中文問題有解答 的時候, 也希望能寫封信通知小弟 Shen Chuan-Hsing <[email protected]> 新增或修改。 Redistribution and use in source (SGML DocBook) and ’compiled’ forms (SGML, HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code (SGML DocBook) must retain the above copyright notice, this list of conditions and the following disclaimer as the first lines of this file unmodified. 2. Redistributions in compiled form (transformed to other DTDs, converted to PDF, PostScript, RTF and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Important: THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Table of Contents 1. 前前前言言言 ............................................................................................................................................................................1 1.1. 簡介................................................................................................................................................................1 1.2. 如何取得這份文件?....................................................................................................................................1 1.2.1. jadetex - SGML+JadeTex 產生不內嵌字型的中文 PDF.................................................................2 1.3. 注意事項........................................................................................................................................................3 1.4. 目標................................................................................................................................................................3 1.5. 如何學 BSD? ...............................................................................................................................................3 2. 以以以 FreeBSD 建建建立立立中中中文文文 Desktop 的的的安安安裝裝裝指指指南南南..........................................................................................................4 2.1. 保持最新的 Ports Tree ..................................................................................................................................4 2.2. 時區設定與對時............................................................................................................................................5 2.3. X Window 與 Window Manager....................................................................................................................5 2.4. Window Manager ...........................................................................................................................................5 2.5. 文鼎TTF與國喬PCF字型..............................................................................................................................6 2.6. 設定 locale .....................................................................................................................................................6 2.7. 中文輸入與終端機........................................................................................................................................7 2.8. 瀏覽器............................................................................................................................................................7 2.9. 郵件用戶端....................................................................................................................................................7 2.10. 彩色的 ls ......................................................................................................................................................8 2.11. Telnet............................................................................................................................................................8 2.12. MP3 Player...................................................................................................................................................8 2.13. Media Player,支援 vcd dvd DivX.............................................................................................................8 2.14. PDF Reader ..................................................................................................................................................9 2.15. DOC Reader .................................................................................................................................................9 2.16. FTP Client ....................................................................................................................................................9 2.17. MSN Messeger.............................................................................................................................................9 2.18. 使用其他字型作為預設字型....................................................................................................................10 I. 中中中文文文環環環境境境 ..................................................................................................................................................................11 3. 中文環境.........................................................................................................................................................12 3.1. 編碼標準 ............................................................................................................................................12 3.2. 基本中文環境的要件 ........................................................................................................................14 3.3. 國際化與中文化 ................................................................................................................................15 3.4. 可能的問題 ........................................................................................................................................16 3.5. 什麼是 locale ?.................................................................................................................................17 4. 中文 X Window ..............................................................................................................................................18 4.1. XFree86-4...........................................................................................................................................18 4.2. 使用字型 ............................................................................................................................................19 4.3. 中文 locale 的設定.............................................................................................................................21 4.4. 時區的設定 ........................................................................................................................................23 5. 中文的訊息.....................................................................................................................................................24 5.1. 幫助本地化和翻譯的工作 ................................................................................................................24 5.2. 參加中文 I18N/L10N 的計畫............................................................................................................24 5.3. 翻譯 PO 檔注意事項 .........................................................................................................................25 5.4. 中文 manual page...............................................................................................................................28 6. 輸出字型.........................................................................................................................................................30 6.1. Bitmapped Font - 點陣字型概論 .......................................................................................................31 iii 6.2. cmexfonts - 中推會 Big5+ 點陣字型 ................................................................................................31 6.3. kcfonts - 國喬點陣字型 .....................................................................................................................32 6.4. gugod-clean - 搭配中文點陣字型用的英文點陣字型 .....................................................................32 6.5. intlfonts - 各國的免費點陣字型........................................................................................................33 6.6. PostScript 概論...................................................................................................................................33 6.7. 使用 TrueType 字型當作是 CID font................................................................................................34