Next Previous Contents

1. 簡介

在我必須處理的一堆討厭事中,有一項就是糟透的 X 預設字型和字型設定 (這裡我專指 XFree86,其他的 X 也許比較好)。有些程式預設使用固定寬度字型(fixed width fonts),其實上可變寬度字型(variable width fonts)較為適當。有些程式使用小到不可思議且難以辨認的字型。伴隨 XFree86 而來的字型根本不適用。它的確有還算精緻的 courier 字型,但是它的 Times 和 Helvetica 只是簡單的點陣字,當縮放的時候就產生鋸齒狀。

這份 HOWTO 嘗試說明如何調整各式各樣的字型設定,如何安裝新字體,和其他可以大幅改善 X Window 字型的外觀和增加可讀性的方法。這是藉由調整 XF86Config 檔中的 FontPath,在 startx 或 xdm (和類似的圖形登錄介面)加上 X server 命令列選項(command line options),加入新的字型,安裝 TrueType 字型伺服器和字型,和使用 K Desktop Environment 1.1 的功能來調整許多應用程式的字型設定,包含設定讓非 KDE 應用程式的顏色和字型能夠與 KDE 一致。

歡迎評論,更正,增修和批評。你可以在 meldroc@frii.comhburgiss@bellsouth.net 聯絡到作者。

譯按:若對中譯文有任何的建議和更正,歡迎寫信告訴我。我的聯絡方式 joezhang@ms10.hinet.net

1.1 慣例

在一些命令的例子中,"#" 符號通常是表示只讓超級使用者執行,而 "$" 則表示一般的使用者就可以執行。

在例子中,/usr/local/share/fonts/ttfonts 是我們 TrueType 字型的目錄。這並不是一個特殊位置,你也可以變更它。

"xfs" 在這裡是指 Redhat 6.x 中包含的 xfs。在某一方面,它和一般指的 XFree86 xfs 有很大的出入。

"Netscape" 指的是整套的 Netscape 程式。包含: Communicator, Navigator, Messenger 等。Mozilla 的字型的設定是相同的。

1.2 Change log

1.3 新版

1.5 版包含了關於 xfsft, fonts.alias 和 XFree86 4.x 的新章節。除此之外,也增加了一個新的章節,是關於一些連結和記錄,並重寫 xfs 的那節。還有一些修改和增補。

在 1.51 版中,感謝 Kristin Aanestad 對本文件的目的提出建議。

本文件的新版可以在 http://feenix.eyep.net/ldp/fdu/index.html 找到。

1.4 Copyright

Copyright 1999 by Doug Holland.

譯按: 為尊重作者原意,這部份不譯 (其實是偷懶啦)。

Unless otherwise stated, Linux HOWTO documents are copyrighted by their respective authors. Linux HOWTO documents may be reproduced and in whole or in part, in any medium physical or electronic, long as this copyright notice is retained on all copies. Commercial is allowed and encouraged; however, the author would to be notified of any such distributions.

All translations, derivative works, or aggregate works incorporating Linux HOWTO documents must be covered under this copyright notice. is, you may not produce a derivative work from a HOWTO and impose restrictions on its distribution. Exceptions to these rules be granted under certain conditions; please contact the Linux coordinator for more information.

In short, we wish to promote dissemination of this information through many channels as possible. However, we do wish to retain copyright the HOWTO documents, and would very much like to be notified of any to redistribute the HOWTOs, this one in particular! Web page are free to link to this HOWTO without restriction, though the would appreciate an email informing him of this, just so he can his ego by knowing who else reads and links to this document.

Many of the terms mentioned in this document are trade names. Unless stated, all trademarks are property of their respective owners.

1.5 致謝

本文件由 Doug Holland 所撰寫
Email: meldroc@frii.com
WWW: http://www.frii.com/~meldroc/

由 Hal Burgiss 更新
Email: hburgiss@bellsouth.net
WWW: http://feenix.eyep.net/

特別感謝


Next Previous Contents