\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{XFree86 ×ÖÌåÃÀ»¯ Mini HOWTO}
\author{×÷Õß: Doug Holland, \nameurl{mailto:meldroc@frii.com}{meldroc@frii.com}\\ 
ÐÞÔö: Hal Burgiss, \nameurl{mailto:hburgiss@bellsouth.net}{hburgiss@bellsouth.net}\\ 
ÒëÕß: Yu-Chia Chang, \nameurl{mailto:joezhang@ms10.hinet.net}{joezhang@ms10.hinet.net}}
\date{v1.5.1, 1 Aug. 2000.
·­ÒëÈÕÆÚ: 24-31 Aug. 2000}
\abstract{ÈçºÎ¸ÄÉÆ³óÂªºÍÄÑÒÔÔÄ¶ÁµÄ X Window ×ÖÐÍ¡£ÓÐÐí¶à¸ÄÉÆ XFree86 ´¦Àí×ÖÐÍµÄ¼¼ÇÉ£¬°üº¬×ÖÐÍËÅ·þÆ÷(fonts server)£¬TrueType ×ÖÐÍ£¬ Netscape ºÍÏà¹ØµÄÖ÷ÌâµÈ¡£}


\begin{document}
\maketitle
\tableofcontents

\section{¼ò½é}

ÔÚÎÒ±ØÐë´¦ÀíµÄÒ»¶ÑÌÖÑáÊÂÖÐ£¬ÓÐÒ»Ïî¾ÍÊÇÔãÍ¸µÄ X Ô¤Éè×ÖÐÍºÍ×ÖÐÍÉè¶¨ (ÕâÀïÎÒ×¨Ö¸ \nameurl{http://www.xfree.org}{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 Ò»ÖÂ¡£

»¶Ó­ÆÀÂÛ£¬¸üÕý£¬ÔöÐÞºÍÅúÆÀ¡£Äã¿ÉÒÔÔÚ \nameurl{mailto:meldroc@frii.com}{meldroc@frii.com} ºÍ \nameurl{mailto:hburgiss@bellsouth.net}{hburgiss@bellsouth.net} ÁªÂçµ½×÷Õß¡£

Òë°´£ºÈô¶ÔÖÐÒëÎÄÓÐÈÎºÎµÄ½¨ÒéºÍ¸üÕý£¬»¶Ó­Ð´ÐÅ¸æËßÎÒ¡£ÎÒµÄÁªÂç·½Ê½ \nameurl{mailto:joezhang@ms10.hinet.net}{joezhang@ms10.hinet.net}¡£


\subsection{¹ßÀý}

ÔÚÒ»Ð©ÃüÁîµÄÀý×ÓÖÐ£¬"\#" ·ûºÅÍ¨³£ÊÇ±íÊ¾Ö»ÈÃ³¬¼¶Ê¹ÓÃÕßÖ´ÐÐ£¬¶ø "\$" Ôò±íÊ¾Ò»°ãµÄÊ¹ÓÃÕß¾Í¿ÉÒÔÖ´ÐÐ¡£

ÔÚÀý×ÓÖÐ£¬/usr/local/share/fonts/ttfonts ÊÇÎÒÃÇ TrueType ×ÖÐÍµÄÄ¿Â¼¡£Õâ²¢²»ÊÇÒ»¸öÌØÊâÎ»ÖÃ£¬ÄãÒ²¿ÉÒÔ±ä¸üËü¡£

"xfs" ÔÚÕâÀïÊÇÖ¸ Redhat 6.x ÖÐ°üº¬µÄ xfs¡£ÔÚÄ³Ò»·½Ãæ£¬ËüºÍÒ»°ãÖ¸µÄ XFree86 xfs ÓÐºÜ´óµÄ³öÈë¡£

"Netscape" Ö¸µÄÊÇÕûÌ×µÄ Netscape ³ÌÊ½¡£°üº¬: Communicator, Navigator, Messenger µÈ¡£Mozilla µÄ×ÖÐÍµÄÉè¶¨ÊÇÏàÍ¬µÄ¡£


\subsection{Change log}

\begin{itemize}
\item 0.1:  Feb. 21, 1999: µÚÒ»´Î¹«²¼¡£
\item 0.11: Feb. 27, 1999: ·ÅÈë copyright ±£»¤ÎÒµÄÈ¨Àû¡£
\item 0.12: Jun. 10, 1999: ·ÅÈëÇëÇóÔ®Öú¡£
\item 0.20: Sep. 14, 1999: Îª Redhat µÄÊ¹ÓÃÕß¼ÓÈëÓÐ¹Øì¶ xfs µÄÒ»½Ú¡£¸ÐÐ» Hal Burgiss µÄ¹±Ï×¡£ 
\item  1.0: Nov. 23, 1999: ½«ÎÄÕÂ×ªÎª SGML ¸ñÊ½£¬ËÍÈë Linux Document Project¡£½«ÇëÇóÔ®ÖúµÄ²¿·ÝÒÆ³ý¡£
\item  1.5: July 25, 2000: ¼ÓÈëÁËÓÐ¹Ø fonts.alias, XFree86 4.x ºÍ xfsft µÄÐÂÕÂ½Ú£¬»¹ÓÐÒ»Ð©ÐÞ¸ÄºÍÔö²¹¡£
\end{itemize}



\subsection{ÐÂ°æ}

1.5 °æ°üº¬ÁË¹Øì¶ xfsft, fonts.alias ºÍ XFree86 4.x µÄÐÂÕÂ½Ú¡£³ý´ËÖ®Íâ£¬Ò²Ôö¼ÓÁËÒ»¸öÐÂµÄÕÂ½Ú£¬ÊÇ¹Øì¶Ò»Ð©Á¬½áºÍ¼ÇÂ¼£¬²¢ÖØÐ´ xfs µÄÄÇ½Ú¡£»¹ÓÐÒ»Ð©ÐÞ¸ÄºÍÔö²¹¡£

ÔÚ 1.51 °æÖÐ£¬¸ÐÐ» Kristin Aanestad ¶Ô±¾ÎÄ¼þµÄÄ¿µÄÌá³ö½¨Òé¡£

±¾ÎÄ¼þµÄÐÂ°æ¿ÉÒÔÔÚ \nameurl{http://feenix.eyep.net/ldp/fdu/index.html}{http://feenix.eyep.net/ldp/fdu/index.html} ÕÒµ½¡£


\subsection{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.


\subsection{ÖÂÐ»}

±¾ÎÄ¼þÓÉ Doug Holland Ëù×«Ð´\\ 
Email: \nameurl{mailto:meldroc@frii.com}{meldroc@frii.com}\\ 
WWW: \nameurl{http://www.frii.com/~meldroc/}{http://www.frii.com/\~{}meldroc/}

ÓÉ Hal Burgiss ¸üÐÂ\\ 
Email: \nameurl{mailto:hburgiss@bellsouth.net}{hburgiss@bellsouth.net}\\ 
WWW: \nameurl{http://feenix.eyep.net/}{http://feenix.eyep.net/}

ÌØ±ð¸ÐÐ»
\begin{itemize}
\item \nameurl{http://www.xfree.org}{XFree86 Project} µÄ·¢Õ¹Õß·îÏ×³öËûÃÇµÄÊ±¼äºÍ¾«Á¦¡£³ý´ËÖ®Íâ£¬Juliusz Chroboczek µÄ xfsft£¬ºÍ XFree86 4.x ÈÃ TrueType ½øÈëÊµÓÃ½×¶Î¡£
\item ¸ÐÐ»×ÖÐÍÌì²Å Kristin Aanestad ÔÚ xfs, TrueType, Netscape ºÍÌØ±ðÊÇ fonts.alias µÈÕÂ½ÚµÄ¹±Ï×¡£Äã¿ÉÒÔÔÚ \nameurl{http://home.c2i.net/dark/linux.html}{Some Linux for Beginners} ÕÒµ½¸ü¶à Kristin ÔÚÆäËûÖ÷ÌâµÄ×ÊÁÏ¡£
\item ÔÚ \nameurl{news:comp.os.linux.x}{comp.os.linux.x} µÄÈËÃÇ£¬ËûÃÇÔÚÎÒ¸Õ¿ªÊ¼ÑÐ¾¿ÕâÐ©µÄÊ±ºò¶ÔÎÒÉì³öÔ®ÊÖ¡£
\item ×î³õÈÃÕâËùÓÐÒ»ÇÐ±äÎª¿ÉÄÜµÄ Linux ÉçÈº¡£
\item Microsoft ºÍ Apple: ËûÃÇÌá¹©ÁË×ÖÐÍ£¬ÃÀ»¯ÁËÎÒµÄ×ÀÃæ¡£
\end{itemize}



\section{X Server µÄÉè¶¨}

ÏÂÃæÊÇÒ»Ð©ºÜÈÝÒ×¾Í¿ÉÒÔÈÃ X ±íÏÖ¸üºÃµÄ²½Öè:


\subsection{Éè¶¨ FontPath}

ÏëÒª½â¾ö×ÖÐÍµÄÎÊÌâ£¬Ê×ÏÈµÃ¿´¿´ {\ttfamily XF86Config} µµ¡£(Í¨³£·ÅÔÚ {\ttfamily /usr/X11/lib/X11/XF86Config} »ò {\ttfamily /etc/X11/XF86Config})¡£ÈôÄã»¹Ã»²Â³öÀ´µÄ»°£¬ ÆäÖÐ¶Ô×ÖÐÍ×îÖØÒªµÄ²¿·Ý¾ÍÊÇ {\ttfamily FontPath}¡£ÔÚ×êÑÐËüÖ®Ç°£¬×îºÃÏÈ¼ì²é X µÄÆäËûÉè¶¨¡£´íÎóµÄÓ©Ä»Éè¶¨±È´íÎóµÄ×ÖÐÍÉè¶¨¸üÁîÈËÍ·Í´¡£È·¶¨ÄãÓ©Ä»µÄ¸üÐÂÆµÂÊ(refresh rate)ÔÚÕý³£Ê¹ÓÃ¡õÎ§ÖÐÒÑ¾­Éèµ½×î¸ß (85Hz ºÜºÃ£¬75Hz ÆÕÍ¨£¬60 Hz ºÜ²»Êæ·þ)¡£

ÓÃÄã×îË³ÊÖµÄÎÄ×Ö±à¼­Æ÷À´±à¼­ {\ttfamily XF86Config}¡£ÔÚµµ°¸¿ªÍ·µÄ File ÄÇ½Ú£¬ÄãÓ¦¸Ã»á¿´µ½ÀàËÆÏÂÃæµÄ¶«Î÷:

\begin{verbatim}
FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
\end{verbatim}


Õâ²¿·ÝÔÚ XFree86 3.x ºÍ 4.x ÀïÓ¦¸ÃÏàÍ¬£¬»òÖÁÉÙÀàËÆ¡£{\ttfamily FontPath} ¸æËß X µ½ÄÇÀïÈ¥ÕÒÔÚÏÔÊ¾Æ÷ÉÏ»­×ÖÓÃµÄ×ÖÐÍ¡£ÅÅÁÐµÄË³ÐòÊÇºÜÖØÒªµÄ£¬µ±Ò»¸ö X Ó¦ÓÃ³ÌÊ½Ïò X ÒªÇó»­Ò»Ð©×Ö£¬X server Í¨³£Æ«ºÃ²ÉÓÃÕýÔÚÊ¹ÓÃµÄ×ÖÐÍ¡£È»ááËüÈ¥¼ì²é {\ttfamily FontPath}£¬Ê¹ÓÃµÚÒ»¸öÄÜÂú×ã X client ÒªÇóµÄ×ÖÐÍ¡£Çë×¢Òâ£¬Redhat 6.x µÄ xfs ²ÉÓÃÁíÒ»ÖÖ·½Ê½À´Éè¶¨ FontPath¡£Çë²Î¿¼µÚ 3.2.2 ½ÚÒÔÁË½â xfs¡£

Ô¤Éè°²×°Í¨³£½« 75dpi µÄ×ÖÐÍ·ÅÔÚ 100dpi Ç°Ãæ¡£ÈôÄãÓÐÒ»Ì¨¸ß½âÎö¶ÈµÄÏÔÊ¾Æ÷£¬Õâ±íÊ¾·Ç³£Ð¡µÄ×Ö¡£ÈôÄãÕýÊÇÕâÖÖÇéÐÎ£¬µÚÒ»¸öÒªÓÃµÄ·½·¨¾ÍÊÇ½« 75dpi ºÍ 100dpi µÄ FontPath ¶Ôµ÷¡£

\begin{verbatim}
FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
\end{verbatim}


È»ááÖ¸³öÄãÆ«ºÃÊ¹ÓÃ²»ÄÜËõ·ÅµÄµãÕó×Ö¡£ÈôÄãÔø¾­Ê¹ÓÃ Netscape »òÊÇÆäËûÊ¹ÓÃ½Ï´ó×ÖÐÍÀ´ÏÔÊ¾±êÌâµÄ³ÌÊ½£¬Äã½«»á·¢ÏÖÕâÐ©×ÖÐÍ»á³ÊÏÖ¾â³Ý×´¡£ÕâÑùºÜÄÑ¿´£¬±ØÐëÒªÐÞÕý¡£ËùÒÔÔÚ misc£¬100dpi ºÍ 75dpi µÄááÃæ¼ÓÉÏ {\ttfamily :unscaled}¡£ÈôÏëÒªµÄ»°£¬ÄãÒ²¿ÉÒÔÍ¬Ê±Ê¹ÓÃÄÜËõ·ÅºÍ²»ÄÜËõ·ÅµÄ×Ö£¬Ö»Òª½«²»ÄÜËõ·ÅµÄ×ÖµÄ {\ttfamily FontPath} ·ÅÔÚÇ°Ãæ£¬¸æËß X ËµÈô¿ÉÄÜµÄ»°£¬¾¡Á¿Ê¹ÓÃ²»ÄÜËõ·ÅµÄ×Ö¡£

\begin{verbatim}
FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath        "/usr/X11R6/lib/X11/fonts/misc"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
\end{verbatim}


×öÁËÕâÐ©¸Ä±äáá£¬ÖØÐÂÆô¶¯ X¡£×ÀÃæÊÇ²»ÊÇÒÑ¾­±È½ÏÆ¯ÁÁÄØ?


\subsection{X server ÃüÁîÁÐÑ¡Ïî (command line options)}

ÏÂÃæÒ»¼þÒª×öµÄÊÂÊÇµ÷Õû X server µÄÃüÁîÁÐÑ¡Ïî¡£Äú½«»áÏëÒªÓÃ {\ttfamily -dpi} À´Ö¸¶¨ÏÔÊ¾µÄ½âÎö¶ÈÊÇÃ¿Ó¢¡õ¼¸µã¡£ÏÖ½ñºÜ¶àÏµÍ³¶¼Ê¹ÓÃ¸ß½âÎö¶ÈµÄÏÔÊ¾Æ÷£¬¿ÉÄÜËüÃÇÐèÒªÓÃ 100dpi¡£ 

ÈôÄãÊÇÔÚ console µÄÌáÊ¾ÁÐÏÂÆô¶¯ X£¬¼üÈë

\begin{verbatim}
 $ startx -dpi 100
\end{verbatim}


ÈôÄãÊÇ²ÉÓÃ xdm ÕâÀàµÄÍ¼ÐÎµÇÂ¼½éÃæ£¬ÄãÐèÒª±à¼­ÄãµÄ {\ttfamily /usr/X11/lib/X11/xdm/Xservers} µµ (»òÊÇ {\ttfamily /etc/X11/xdm/Xservers})¡£ÔÚÀïÃæÓÐ Xserver µÄÃüÁîÁÐ¡£ÎÒµÄµµ°¸ÀïÓÐÏÂÃæÕâÒ»ÐÐ:

\begin{verbatim}
 :0 local /usr/X11R6/bin/X -dpi 100 -gamma 1.6
\end{verbatim}


Äã¿ÉÔÚ X ºÍ Xserver µÄ manpage ÖÐÕÒµ½¸ü¶àµÄ×ÊÑ¶¡£


\section{TrueType ×ÖÐÍ (ÉÙÊý Windows ÔÚÐÐµÄÊÂÇé)}

ÒòÎªÔÚ Redmond µÄÄÇÈº¼Ò»ï·Ç³£¹ØÐÄËûÃÇÈíÌåµÄÍâ¹Û¶ø²»ÊÇÄÚÈÝ£¬ËûÃÇÔÚ Windows Àï¼ÓÉÏ¶Ô TrueType ×ÖÐÍµÄÖ§Ô®¡£µ±È»£¬ËûÃÇÊÇ´ÓÔ´Æðì¶ MacOS ÖÐµÄ TrueType ÖÐµÃµ½ÁËÕâ¸öÖ÷Òâ¡£ Window 9x ºÍÆäËûµÄ Windows ¶¼ÄÚº¬ Arial£¬Times New Roman£¬ºÍ Courier New¡£ËûÃÇÔ¼µÈì¶ Helvetica£¬Times£¬ºÍ Courier¡£TrueType ×ÖÐÍÊÇÄÜËõ·ÅµÄ£¬ËùÒÔËüÃÇÔÚ·Å´óÊ±ºÜºÃ¿´£¬¶øËüÃÇÒ²±»ºÃºÃµÄµ÷Õû(hint)¹ý£¬ÔÚËõÐ¡µÄÊ±ºòÒÀÈ»¿É¶Á¡£ÓÐÐí¶àµÄ Windows Ó¦ÓÃ³ÌÊ½¸½ËÍºÃ¼¸´òµÄ TrueType ×ÖÐÍ¡£ÏÈ±ð¼±Öø°ÑÄãµÄ Windows CD ÄÃÈ¥Î¢²¨£¬µÃÏÈÄÃµ½ÕâÐ©×ÖÐÍ¡£

²»ÐÒµÄÊÇ£¬XFree86 3.x ²¢Ã»ÓÐÄÚ½¨Ö§Ô® TrueType£¬ËùÒÔÄã±ØÐë×Ô¼º¼ÓÈë¡£È»¶ø£¬XFree86 4.x ÔòÄÚ½¨ÁË (Çë²Î¿¼µÚ 4 ½Ú)¡£Õâ±íÊ¾Ö§Ô® TrueType µÄ×ÖÐÍËÅ·þÆ÷ºÍ×ÖÐÍ½«»á±»°²×°¡£µ«Äã²¢²»»áÔÚ¸÷¼ÒµÄ distribution ÖÐ·¢ÏÖ¾«ÃÀµÄ TrueType ×ÖÐÍ¡£×î¿ÉÄÜµÄÔ­ÒòÊÇÏÖÔÚ²¢Ã»ÓÐÒÔÊÊµ±µÄ license ·¢ÐÐµÄ¾«ÃÀ×ÖÐÍ¡£




\subsection{È¡µÃ TrueType ×ÖÐÍ}

ÈÃÎÒÃÇÏÈ´¦Àí×ÖÐÍ¡£ÔÚ¸÷ÖÖ MS Windows Ëù¸½µÄ TrueType ×ÖÐÍÓ¦¸Ã¶¼¿ÉÒÔÓÃ¡£±ðÍü¼ÇÎÄ×Ö´¦ÀíÆ÷ºÍÆäËûÓ¦ÓÃ³ÌÊ½Ò²¶¼¸½ÓÐ×Ô¼ºµÄ×ÖÐÍ¡£MacOS µÄ×ÖÐÍ²»ÄÜÊ¹ÓÃ¡£ÈôÄãÒÑ¾­°ÑÄÇÆ¬ CD ÄÃÈ¥Î¢²¨£¬»¹ÓÐÒ»Ð©Ãâ·ÑµÄ TrueType ×ÖÐÍ¿ÉÒÔÏÂÔØ (Çë²Î¿¼ 6.2 ½ÚµÄÁ¬½á)¡£

ÎªÁËÊ¹ÓÃ TrueType ×ÖÐÍ£¬ÕâÐ©×ÖÐÍ±ØÐëÄÜ¹»±»×ÖÐÍËÅ·þÆ÷¶ÁÈ¡¡£Õâ±íÊ¾ËüÃÇ±ØÐëÊÇÔÚÒ»¸öÒ»Ö±±»¹ÒÔØ (mount) µÄµµ°¸ÏµÍ³ÖÐ¡£ÔÚË«×÷ÒµÏµÍ³ (dual boot system) ÉÏ£¬ÕâÒ²¿ÉÒÔÊÇÒ»¸ö Windows ·Ö¸îÇø¡£µ±È»£¬ÕâÐ©×ÖÐÍÒ²¿ÉÒÔ¿½±´µ½ Linux ÖÐ¡£Ê×ÏÈÏÈ±ä³É³¬¼¶Ê¹ÓÃÕß:

\begin{verbatim}
 # su -
 # mkdir -p /usr/local/share/fonts/ttfonts
\end{verbatim}


ÏÖÔÚÇÐ»»µ½ÐÂµÄ×ÖÐÍÄ¿Â¼ÏÂ:

\begin{verbatim}
 # cd /usr/local/share/fonts/ttfonts
\end{verbatim}


È»áá½«×ÖÐÍ¼ÓÈëÕâ¸öÄ¿Â¼¡£²»ÂÛÄãÊÇ´Ó Windows ÏµÍ³ÖÐ¿½±´¹ýÀ´

\begin{verbatim}
 # cp /mnt/<path_to_fonts>/*ttf  .
\end{verbatim}


»òÊÇ´Ó \nameurl{http://www.microsoft.com/typography/fontpack/default.htm}{Mircosoft} ÏÂÔØ¡£ÕâÐ©×ÖÐÍÊÇ×Ô½âÑ¹ËõµÄ zip µµ¡£ÈôÄãÏëÔÚ Linux ÏÂ½âÑ¹Ëõ£¬±ØÐëÏÂÔØ±êÊ¾ 'Windows 3.1' µÄµµ°¸¡£ÔÚ Linux ÏÂÒÔ Linux zip ½â¿ª

\begin{verbatim}
 # ls *exe | xargs -n 1 unzip -L
\end{verbatim}


'-L' µÄÑ¡Ïî»á½«×ÖÃû×ªÎªÐ¡Ð´£¬Õâ¶Ôì¶ xfsft ºÍ Redhat µÄ xfs ÊÇ±ØÒªµÄ¡£×¢ÒâÏÖÔÚµÄ Linux zip ³ÌÊ½²¢²»ÄÜ´¦Àí 32 Î»ÔªµÄ Win9x ×ÖÐÍÑ¹Ëõµµ¡£¿´ÆðÀ´ËÆºõ Microsoft ²»»áÔÙÔÚÕâ¸öÍøÕ¾ÉÏ·ÅÈë 16 bit µÄ Arial, Courier ºÍ Times-Roman¡£»òÊÇÄã¿ÉÒÔÔÚ \nameurl{ http://rpmfind.net/linux/RPM/contrib/noarch/noarch/webfonts-1-3.noarch.html}{ÕâÀï} ÏÂÔØ°üº¬Ðí¶à MS TrueType ×ÖÐÍµÄ WebFonts RPM¡£ËüÒÑ¾­°üº¬×ã¹»µÄ×ÖÐÍ¸ø Netscape ºÍÆäËûµÄÍøÂ·ä¯ÀÀÆ÷Ê¹ÓÃÁË¡£

Äã±ØÐëÔÚ X server µÄ FontPath ÖÐ¼ÓÈëÕâ¸öÐÂµÄ TrueType Ä¿Â¼¡£ÓÃÄãË³ÊÖµÄÎÄ×Ö±à¼­Æ÷¼ÓÉÏÊÊµ±µÄ¼¸ÐÐ:

\begin{verbatim}
FontPath        "/usr/local/share/fonts/ttfonts"
FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath        "/usr/X11R6/lib/X11/fonts/misc"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
\end{verbatim}



\subsection{×ÖÐÍËÅ·þÆ÷}

ÏÖÔÚÓÐÐí¶à×ÖÐÍËÅ·þÆ÷¶¼¿ÉÒÔÊ¹ÓÃ: xfstt£¬xfsft£¬ºÍ Redhat ×Ô xfsft ÐÞ¸Ä¶øÀ´µÄ xfs¡£ËäÈ»ÕâÐ©Ãû×Ö¿´ÆðÀ´ºÜÏñ£¬µ«ÊÇËüÃÇÈ´ÊÇ²»Í¬µÄÌ×¼þ¡£ÖÁÉÙÒ»¸öÒÔÉÏµÄÌ×¼þÓ¦¸ÃÒÑ¾­°üº¬ì¶ÈÎºÎ×î½üµÄ Linux distribution¡£¶øÄãÒ²¿ÉÄÜÒÑ¾­°²×°ÁË¡£

ÒÔÇ°×ÖÐÍËÅ·þÆ÷ÊÇÓÃì¶ÔÚÍøÂ·ÉÏÌá¹©×ÖÐÍ¡£×ÖÐÍµÄ×ÊÔ´¿ÉÒÔ´æì¶Ò»Ì¨»úÆ÷ÉÏ£¬ÆäËûµÄ client ¿ÉÒÔÔÚÐèÒªµÄÊ±ºò¶ÁÈ¡¡£µ«ÊÇËüµÄ·¢Õ¹ÕßÔö¼ÓÁËÐÂ¹¦ÄÜ£¬Èç¿ÉÒÔ»­ TrueType ×ÖÐÍ¡£(XFree86 4.x ÒÑ¾­°üº¬Õâ¸ö¹¦ÄÜ£¬ËùÒÔÈôÖ»ÊÇÒªÌá¹© TrueType Ö§Ô®µÄ»°£¬²¢²»ÐèÒªÁíÍâµÄ×ÖÐÍËÅ·þÆ÷)¡£


\subsubsection{xfstt}

Ò»¸öÕâÑùµÄ×ÖÐÍËÅ·þÆ÷ÊÇ xfstt¡£ËüÔÚÉè¼ÆÉÏ¾ÍÓÐ¿¼ÂÇµ½ TrueType ×ÖÐÍ¡£


\paragraph{°²×°}

xfstt ·Ç³£ÈÝÒ×°²×°ºÍÉè¶¨¡£ÈôÄãÉÐÎ´°²×°µÄ»°£¬±ØÐë´ÓÍøÕ¾ÉÏÏÂÔØ tarball »òÊÇÕÒÕÒÄãµÄ CD¡£×îÐÂµÄ°æ±¾ÊÇÔÚ \nameurl{http://metalab.unc.edu/pub/Linux/X11/fonts/}{http://metalab.unc.edu/pub/Linux/X11/fonts/}

ÓÐÁË tarball áá£¬°ÑËü½â¿ª:

\begin{verbatim}
 $ tar -zxvf Xfstt-*tgz
\end{verbatim}


È»áá±àÒëºÍ°²×°Ëü¡£INSTALL µµÓÐ¼òµ¥µÄËµÃ÷¡£µ«ÊÇÆäÊµÊÇ²»ÓÃ»¨Ê²÷áÄÔ½î£¬Ö»ÒªÔÚ xfstt µÄÄ¿Â¼ÏÂ£¬ÊäÈëÏÂÃæµÄÖ¸Áî¼´¿É:

\begin{verbatim}
 # make
 # make install
\end{verbatim}


¼üÈëÏÂÃæµÄÖ¸ÁîÀ´Æô¶¯ xfstt:

\begin{verbatim}
 # xfstt --sync              # ¸üÐÂ xfstt µÄ×ÖÐÍ×ÊÁÏ¿â
 # xfstt &                # ÔÚ±³¾°Ö´ÐÐ xfstt
\end{verbatim}


xfstt Ó¦¸ÃÒª±È X server ¸üÔçÆô¶¯¡£Ò»µ©ÕâÑùÖ´ÐÐÎÞÎó£¬Äã¿ÉÒÔÔÚ {\ttfamily /etc/rc.d/rc.local} »òÊÇÊÊµ±µÄÆðÊ¼µµÖÐ¼ÓÈëÉÏÃæÕâÒ»ÐÐ¡£È»áá¼üÈë:

\begin{verbatim}
 $ xset +fp unix/:7100       # Öª»á X ÓÐ¹Ø xfstt ºÍµ½ÄÇÀïÈ¥ÕÒ×ÖÐÍ
\end{verbatim}


»òÊÇÔÚÄãµÄ {\ttfamily XF86Config} µµÖÐ¼ÓÈëÏÂÃæµÄÖ¸Áî£¬Öª»á X ÓÐ¹Øì¶×ÖÐÍËÅ·þÆ÷¡£µ± FontPath µÄÎ»ÖÃºÍÄÚÈÝÓÐ¸Ä±äµÄÊ±ºò£¬ÖØÐÂÖ´ÐÐ {\ttfamily xfstt --sync}¡£

FontPath "unix/:7101"


\paragraph{µ÷ÕûÔ¤Éè×ÖÐÍµÄ´óÐ¡}

ÈôÄãµÄ TrueType ×ÖÐÍÏÔµÃÏàµ±Ð¡£¬ÏÂÃæµÄÖ¸Áî¿ÉÄÜÓÐ°ïÖú¡£

ÔÚ X server ÃüÁîÁÐ¼ÓÉÏ {\ttfamily -dpi} (Çë²Î¿¼µÚ 3 ÕÂ)¡£

Ê¹ÓÃ {\ttfamily --res} À´¸æËß xfstt Ôö¼ÓÔ¤ÉèµÄ½âÎö¶È¡£ÓÃÏÂÃæµÄÖ¸Áî

\begin{verbatim}
 # xfstt --res 120
\end{verbatim}



\subsubsection{Redhat µÄ xfs}

¾ÍÈçÍ¬ Redhat Linux 6.0 Ò»°ã£¬¼Ü¹¹ÔÚ Redhat ÉÏµÄ distribution (Èç Mandrake µÈ) ÒÑ¾­°üº¬ÁËÒ»¸öÌØ±ðÐÞÕýµÄ xfs ºÍÐÞÕý¹ýµÄ X servers¡£Redhat µÄ xfs °üº¬ÁË xfsft µÄÐÞÕýµµ£¬¶øÕâÐ©ÐÞÕýµµÔòÊÇ¼Ü¹¹ÔÚ FreeType Font library¡£Redhat µÄ xfs Ìá¹©Óë xfstt ÀàËÆµÄ¹¦ÄÜ¡£Ëü²»Ö»ÄÜ´¦Àí TrueType ºÍ Type 1 ×ÖÐÍ£¬Ò²¿ÉÒÔ¶Ô¸¶Ô­±¾µÄ X ×ÖÐÍ¡£

ÈôÊÇÄãÊ¹ÓÃ¼Ü¹¹ì¶ Redhat µÄ distribution£¬xfs Ó¦¸ÃÒÑ¾­°²×°ºÃÁË¡£ÈôÃ»ÓÐ£¬ËüÊÇÔÚ {\ttfamily XFree86-xfs*rpm} ÖÐ¡£ÒªÏëÈ·¶¨ËüÊÇÔ¤ÉèÖ´ÐÐµÄ·þÎñ£¬¿ÉÒÔÓÃ {\ttfamily ntsysv} »ò:

\begin{verbatim}
 # chkconfig --add xfs
\end{verbatim}


ÏÖÔÚ xfs ¾Í»áÔÚÃ¿Ò»´Î¿ª»úµÄÊ±ºòÆô¶¯¡£


\paragraph{Éè¶¨ xfs µÄ FontPath}

ÔÚ Redhat µÄÔ¤Éè°²×°ÖÐ£¬xfs ÊÇ¾­ÓÉ Unix Domain Socket Ìá¹©×ÖÐÍ¡£ÎÒÃÇ±ØÐë¸æËß X server µ½ÄÇÀïÈ¥ÕÒ xfs ºÍ×ÖÐÍ¡£ÔÚ {\ttfamily /etc/X11/XF86Config} ÖÐµÄ FontPath Ò»¶¨Òª°üº¬:

\begin{verbatim}
FontPath   "unix/:-1"
\end{verbatim}


ÖÁÉÙÔ¤ÉèµÄÉèÖÃÊÇÈç´Ë¡£ÕâÊÇÒ»¸ö xfs »áÈ¥ listen µÄ socket¡£ÄãÒ²¿ÉÒÔ¼ÓÉÏÁíÍâµÄ FontPath£¬µ«ÊÇËüÃÇ±ØÐëÓÉ X server À´´¦Àí£¬¶ø²»ÊÇ xfs¡£°²×°ÐÂµÄ Redhat 6.x Ó¦¸Ã¾ÍÒÑ¾­Éè¶¨ºÃÁË£¬µ«ÊÇÈôÄãÊÇ´Ó¾ÉµÄ°æ±¾Éý¼¶ÉÏÀ´£¬±ØÐë×Ô¼º¶¯ÊÖÐÞ¸Ä¡£

xfs ÔÚ {\ttfamily /etc/X11/fs/config} ÖÐ´æÓÐ×Ô¼ºµÄ FontPath¡£ÕâÀï¾ÍÊÇËüÕÒ×ÖÐÍµÄµØ·½¡£ÔÚ {\ttfamily XF86Config} µµÖÐ£¬Ëü·ÅÔÚ X server µÄ FontPath ÉÏÃæ¡£Äã¿ÉÒÔÓÃÎÄ×Ö±à¼­Æ÷¼ÓÈëÐÂµÄÂ·¾¶£¬»òÊÇÓÃ {\ttfamily chkfontpath} ÃüÁî:

\begin{verbatim}
 # chkfontpath --add /usr/local/share/fonts/ttfonts
\end{verbatim}


¸Ã FontPath ÔÚÖ´ÐÐ {\ttfamily chkfontpath} ÃüÁîÇ°±ØÐëÒªÏÈ´æÔÚ¡£ÔÚ {\ttfamily /etc/X11/fs/config} ÖÐÏà¹Ø²¿·Ý¿´ÆðÀ´Ó¦¸ÃÏñÊÇ:

\begin{verbatim}
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
            /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/Type1,
            /usr/X11R6/lib/X11/fonts/Speedo,
            /usr/X11R6/lib/X11/fonts/misc,
            /usr/X11R6/lib/X11/fonts/100dpi,
            /usr/X11R6/lib/X11/fonts/75dpi,
            /usr/local/share/fonts/ttfonts
\end{verbatim}



\paragraph{×¼±¸ºÃ×ÖÐÍ}

ÔÚÕæÕýÊ¹ÓÃ TrueType ×ÖÐÍÇ°»¹ÓÐÒ»Ð©ÊÂÇéÒª×÷¡£xfs ÐèÒªÒ»Ð©ÊÂÇé°´ÕÕ¹æ¾ØÀ´¡£Ê×ÏÈ£¬ËùÓÐµÄ×ÖÃû¶¼±ØÐëÊÇÐ¡Ð´¡£µÚ¶þ£¬×ÖÃûÀï²»ÄÜÓÐ¿Õ°×¡£È»áá£¬ÎÒÃÇ»¹Òª²úÉúÒ»Ð©µµ°¸²ÅÐÐ¡£

ÏÈ³ÉÎª³¬¼¶Ê¹ÓÃÕß£¬È»ááµ½ TrueType ×ÖÐÍµÄÄ¿Â¼ÏÂ:

\begin{verbatim}
 # su -
 # cd /usr/local/share/fonts/ttfonts
\end{verbatim}


ÈôÊÇÓÐÐ¡Ð´µÄ×ÖÃû£¬Äã¿ÉÒÔÊ¹ÓÃÏÂÃæµÄ script ½«ËùÓÐµÄ×ÖÃû×ªÎªÐ¡Ð´:

\begin{verbatim}
 #!/bin/sh
 #
 ## -------- convert upper to lower case ---------
 
 ls * | while read f
  do
    if [ -f $f ]; then
      if [ "$f" != "`echo \"$f\" | tr A-Z a-z`" ]; then
       #Note that 'This' will overwrite 'this'!
       mv -iv "$f" "`echo \"$f\" | tr A-Z a-z`"
      fi
    fi
  done

 ## eof
\end{verbatim}


×¢Òâ±êµã·ûºÅ -- ·´ÒýºÅ (backquotes) ºÜÖØÒª! ËüÒ²½«×ÖÃûÖÐµÄ¿Õ°×ÒÆ³ý¡£µ± TrueType ×ÖÐÍÊÊµ±±»°²×°áá£¬Äã±ØÐëÒª²úÉú {\ttfamily fonts.dir} ºÍ {\ttfamily fonts.scale} µµ¡£ÏÂÃæµÄÃüÁî¿ÉÒÔ×öµ½:

\begin{verbatim}
 # ttmkfdir -o fonts.scale
 # mkfontdir
\end{verbatim}


ÏÖÔÚÄãµÄ TrueType ×ÖÐÍÄ¿Â¼ÖÐÓ¦¸ÃÓÐ {\ttfamily fonts.dir} ºÍ {\ttfamily fonts.scale} µµ¡£{\ttfamily ttmkfdir} ÊÇÔÚ {\ttfamily Freetype} µÄ RPM Àï£¬¶øÇÒËü±ØÐëÔÚ {\ttfamily mkfontdir} Ç°Ö´ÐÐ¡£ÕâÐ©ÃüÁî²»¼ûµÃÃ¿´Î¶¼»á»Ø±¨´íÎó£¬ËùÒÔÒªÔÙÑéÖ¤µÄÈ·²úÉúÁËµµ°¸£¬ÇÒ²»ÊÇ¿Õµµ:





\begin{verbatim}
 $ ls -l fonts.*
  -rw-r--r--  1 root   root   11657 Aug 17 10:31 fonts.dir
  -rw-r--r--  1 root   root   11657 Aug 17 10:31 fonts.scale
\end{verbatim}


ÈôÄãÓöµ½ÎÊÌâ£¬ÊÔÊÔÔÚ {\ttfamily ttmkfdir} ÖÐ¼ÓÉÏ {\ttfamily - m} µÄÑ¡Ïî¡£Õâ»á·ÅÆúµµ°¸ÖÐ²»ÕýÈ·µÄ×ÖÔª¡£Éè¶¨Ò»¸öÊý×Ö£¬Èç 50 »òÊÇ 100 ({\ttfamily ttmkfdir -m 50}) ¡£µµ°¸±¾ÉíÊÇÎÄ×Öµµ¡£¿´Ò»¿´:

\begin{verbatim}
 $ less  fonts.dir
  114
  webdings.ttf  -microsoft-Webdings-medium-r-normal--0-0-0-0-p-0-microsoft-symbol
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-ascii-0
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-fcd8859-15
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-15
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-9
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
 [...]
\end{verbatim}


½ÓÖø£¬¸üÐÂ xfs (ÔÚ XFree86 4.x »òÐí²»ÓÃ) ºÍÄã X server µÄ FontPath:

\begin{verbatim}
 # /etc/rc.d/init.d/xfs restart
 $ xset +fp /usr/local/share/fonts/ttfonts
 $ xset fp rehash
\end{verbatim}


µ±Äã¼ÓÈë»òÒÆ³ýÐÂµÄ×ÖÐÍÊ±£¬ÖØÐÂÖ´ÐÐÍ·Î²ÕâÁ½¸öÃüÁî¡£{\ttfamily xset +fp }Ö»ÓÐÔÚÔö¼ÓÐÂµÄ×ÖÐÍÄ¿Â¼Ê±²ÅÐèÖ´ÐÐ¡£

ÏÖÔÚÓ¦¸Ã¾ÍÃ»ÎÊÌâÁË¡£Äã¿ÉÒÔ¼ì²é X ¿ÉÒÔÊ¹ÓÃµÄ×ÖÐÍ:

\begin{verbatim}
$ xlsfonts | less
\end{verbatim}


»òÊÇÔÙÓÃ {\ttfamily xfontsel} »ò {\ttfamily gfontsel} À´¼ì²é¡£ÈôÔÚ {\ttfamily xlsfonts} ÖÐ¿ÉÒÔ¿´µ½£¬Ôò X ¿ÉÒÔÊ¹ÓÃ£¬·´Ö®ÒàÈ»¡£ÈôÃ»ÓÐ³öÏÖ£¬ÒÔ Ctrl-Alt-BS ÖØÐÂÆô¶¯ X¡£


\subsection{xfsft}

\nameurl{http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/}{xfsft} ÊÇÓÉ Juliusz Chroboczek ËùÐ´µÄ TrueType ½â¾ö·½°¸¡£xfsft ÊÇ¼Ü¹¹ÔÚ Mark Leisher µÈÈËËùÐ´µÄ FreeType font library¡£Ëü»ù±¾ÉÏÊÇÒ»¸ö XFree86 xfs ÔÙ¼ÓÉÏÏà¹Øº¯Ê½¿âµÄÐÞ²¹µµ -- xfs + ft¡£Redhat µÄ xfs »ù±¾ÉÏÊÇ xfsft ÔÙ¼ÓÉÏÒ»Ð©Ð¡Ð¡µÄÐÞÕý¡£¶ø Free86 4.x Ò²°üº¬ÁËÍ¬Îª Juliusz ËùÐ´µÄ {\ttfamily freetype} ×ÖÐÍÄ£×é(font module)¡£ËüÊÇ XFree86 4.x µÄ TrueType ½â¾ö·½°¸ÖÐµÄÒ»¸ö¡£

ÒªÏë±àÒë xfsft ³ýÁË xfsft ±¾ÉíÍâ£¬ÖÁÉÙ»¹ÒªÒ»Ð© XFree86 µÄÔ­Ê¼µµ£¬ËùÒÔ²»ÊÊºÏÐÄÔà²»¹»Ç¿×³µÄÈË¡£±àÒëºÍÉè¶¨ xfsft µÄËµÃ÷ÒÑ¾­ÔÚ tarball ÖÐ£¬ËùÒÔÔÚÕâÀïÎÒ²»´òËãÏêÏ¸ÐðÊö¡£ËûºÜÖ±½Ó¡£ÔÚ xfsft µÄÍøÒ³ (¼ûÉÏÃæ) ÉÏÓÐÒ»Ð©¿ÉÖ´ÐÐµµµÄÁ¬½á¡£

×¢ÒâÄã±ØÐë²úÉú {\ttfamily fonts.scale} ºÍ {\ttfamily fonts.dir} µµ¸ø xfsft¡£{\ttfamily fonts.scale} ¿ÉÒÔÊÖ¶¯²úÉú£¬»òÊÇÓÃ {\ttfamily ttmkfdir} ³ÌÊ½¡£Ëü²¢Î´°üº¬ì¶ xfsft£¬µ«ÊÇÄã¿ÉÒÔÔÚ \nameurl{http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz}{ÕâÀï} »òÐí¶à Linux µÄÍøÕ¾ÉÏ×¥µ½¡£Redhat ÔÚ {\ttfamily Freetype} µÄ RPM Àï°üº¬ÁËÕâ¸ö³ÌÊ½¡£

ÄãÒ²»áÐèÒªÒ»¸öÉè¶¨µµ¡£ÏÂÃæÊÇ¸öÀý×Ó:

\begin{verbatim}

-----------------------------------------------------

clone-self = off
use-syslog = off

client-limit = 20

catalogue = /usr/local/share/font/ttfonts

error-file = /home/jec/fonts/xfs.errors

# in decipoints
default-point-size = 120

# x,y
default-resolutions = 100,100,75,75

-----------------------------------------------------
\end{verbatim}


È»ááÖ´ÐÐ xfsft:

\begin{verbatim}
# xfs -port 7100 -config /path/to/your/config/file &
\end{verbatim}


Äã¿ÉÒÔÔÚ X server µÄ {\ttfamily FontPath} ÖÐ¼ÓÉÏ xfsft:

\begin{verbatim}
$ xset +fp tcp/localhost:7100
\end{verbatim}


ÈôÒ»ÇÐË³ÀûµÄ»°£¬Äã¿ÉÒÔÔÚ {\ttfamily XF86Config} ÖÐ¼ÓÉÏÕâ¸ö {\ttfamily FontPath}¡£


\subsection{fonts.alias µµ}

{\ttfamily fonts.alias} ÊÇÁíÒ»¸ö¿ÉÒÔµ÷ÕûÈçºÎ´¦Àí×ÖÐÍµÄÉè¶¨µµ¡£¾ÍÈçÍ¬ {\ttfamily fonts.scale} ºÍ {\ttfamily fonts.dir} Ò»°ã£¬{\ttfamily fonts.alias} Ò²±ØÐëºÍ×ÖÐÍ·ÅÔÚÍ¬Ò»¸öÄ¿Â¼ÏÂ¡£ËüËäÈ»²»ÊÇ±ØÒªµÄ£¬µ«ÊÇÓÐµÄ»°µÄÈ·½â¾öÁËÄ³Ð©¿ÉÄÜ·¢ÉúÎÊÌâ¡£ÏÂÃæÊÇÒ»¸öÕª×Ô Redhat ÏµÍ³ÖÐ {\ttfamily /usr/X11R6/lib/X11/fonts/misc/fonts.alias} µÚÒ»ÐÐµÄÀý×Ó:

\begin{verbatim}
 fixed    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
\end{verbatim}


ÕâÀï {\ttfamily fixed} ¾ÍÊÇ»¯Éí(alias)¡£Ã¿´Î {\ttfamily fixed} ±»ºô½ÐÊ±£¬ÎÒÃÇÊÂÊµÉÏËùµÃµ½µÄÊÇµÚ¶þÁÐµÄ×ÖÐÍ¶¨Òå¡£×ÖÌ«Ð¡ÁËÂð? Ö»Òª¸Ä×ÖÐÍ¶¨Òå¼´¿É (¾¯¸æ:ÖÁÉÙÔÚ Redhat ÖÐ£¬Õâ¸öµµ°¸ºÜÖØÒª)¡£ÏàÍ¬µÄÔ­Ôò¿ÉÒÔÓ¦ÓÃµ½ËùÓÐµÄ×ÖÐÍ£¬°üº¬ TrueType ×Ö¡£ÊÂÊµÉÏ£¬ÈôÄãÃ»ÓÐ TrueType£¬Äã¿ÉÒÔÓÃÕâ¸ö¼¼ÇÉ½« Type 1 »òÀàËÆµÄ×ÖÐÍ»¯ÉíÎª TrueType¡£ 

ÔÚÄ³Ð©ÎÞ·¨Í×ÉÆ´¦Àí×Ô {\ttfamily fonts.scale} Ìá¹©µÄ×ÊÁÏµÄÓ¦ÓÃ³ÌÊ½ÖÐ£¬{\ttfamily fonts.alias} ¾ÍÏÔµÃÏàµ±ÖØÒª¡£ÆäÖÐ×îÖøÃûµÄ¾ÍÊÇ Netscape¡£ÈôÃ»ÓÐ {\ttfamily fonts.alias}£¬Äã»á·¢ÏÖ Netscape Ö»ÄÜÏÔÊ¾ÏÖÓÐ 0 µ½ 12 µãµÄ×Ö¡£»òÐíÄãÒ²·¢ÏÖÈôÔÚ {\ttfamily Preferences} ÖÐÖ¸¶¨ÁíÒ»ÖÖµãÊýÔÙÅäºÏÉÏ {\ttfamily scalable font} Ñ¡Ïî£¬Netscape ½«ÎÞ·¨´æÏÂÕâ¸öÉè¶¨¡£ÕæÁîÈËÑá·³! ËùÒÔÎÒÃÇÐèÒªÕâ¸öµµ°¸¡£ÏÂÃæÊÇÈ¡×ÔÒ»¸ö {\ttfamily fonts.scale} µµ:

\begin{verbatim}
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ascii-0
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-fcd8859-15
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-15
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
\end{verbatim}


ÒòÎªÕâÐ©×ÖÊÇ¿ÉÒÔËõ·ÅµÄ£¬ËùÒÔ²¢Ã»ÓÐÔ¤ÉèµÄµãÊý¡£¾Ù Arial À´Ëµ£¬ÎÒÃÇ±ØÐë²úÉúÎÒÃÇ×Ô¼ºµÄ {\ttfamily fonts.alias} £¬ÈçÏÂ:

\begin{verbatim}

 -monotype-Arial-medium-r-normal--6-60-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--9-90-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--7-70-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--9-90-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--8-80-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--10-100-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--9-90-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--11-110-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--10-100-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--11-110-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--12-120-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--13-130-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--13-130-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--14-140-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--14-140-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--15-150-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--15-150-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--18-180-0-0-p-0-iso8859-1 \
            -monotype-Arial-medium-r-normal--18-180-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--24-240-0-0-p-0-iso8859-1 \
            -monotype-Arial-medium-r-normal--24-240-75-75-p-0-iso8859-1
\end{verbatim}


({\itshape Çë×¢ÒâÎÒÃÇ½«Ô­±¾ÊÇÒ»ÐÐµÄÐ´³ÉÁ½ÐÐÒÔÔö¼Ó¿É¶ÁÐÔ\/})¡£ÕâÁ½ÁÐÆäÊµÓ¦¸Ã·ÅÔÚÍ¬Ò»ÐÐ£¬ÓÃÒ»¸öÒÔÉÏµÄ¿Õ°×À´Çø·Ö£¬¶øÇÒÖÐ¼äÃ»ÓÐ "$\backslash$" ·ûºÅ¡£ÕâÑù×öÁËÖ®áá¾Í»áÈÃ Netscape ÅÜµÃºÜË³¡£Äã¿ÉÄÜÒ²·¢ÏÖÔÚÇ°Ãæ¼¸ÐÐÀï£¬µÚÒ»ÁÐºÍµÚ¶þÁÐµÄµãÊý²¢²»ÏàÍ¬¡£µÚÒ»ÏîµÄµÚÒ»ÁÐÊÇ'6'£¬µ«ÊÇÔÚµÚ¶þÁÐÈ´»¯ÉíÎª'9'£¬ËùÒÔÊÇ 9 µã×Ö¡£ÕâÊÇÎªÁË½â¾öÔÚ Netscape ÀïÌìÉ±µÄÐ¡×Ö¶ø¹ÊÒâ¸ÄµÄ¡£Äã¿ÉÒÀÕÕÄãµÄÏ²ºÃ£¬½âÎö¶ÈºÍÑÛÁ¦À´µ÷Õû¡£





Õâ¸öµµ°¸¿ÉÒÔÊÖ¶¯²úÉú£¬»òÊÇÓÃÉñÆæµÄ sed ºÍ awk script¡£\nameurl{http://home.c2i.net/dark/linux.html#ttf}{ÕâÀï} ÓÐÒ»¸öÌÖÂÛÕâµµ°¸ºÍÆäËû×ÖÐÍÏà¹ØµÄÖ÷ÌâÔÚ Kristin Aanestad µÄÍøÕ¾ÉÏ¡£ÄÇÀïÒ²ÓÐÒ»¸ö¿ÉÒÔÖØ¸´×Ô¶¯²úÉú {\ttfamily fonts.alias} µµµÄ python script¡£¸ÐÐ» Kristin£¬ËûµÄÅ¬Á¦ºÍ¼û½âÆô·¢ÁËÕâÒ»½Ú¡£


\section{XFree86 4.x}

\nameurl{http://www.xfree86.org/4.0/}{XFree86 4.0} Ö±½ÓÌá¹©ÁË¶Ô TrueType µÄÖ§Ô®ºÍÒ»Ð©ÐÂ¹¦ÄÜ¡£ÄÜ¸Ä½ø¶Ô×ÖÐÍµÄÖ§Ô®ÊÇ¼Ü¹¹ÔÚ Juliusz Chroboczek µÄ xfsft¡£¶ø xfsft ÔòÊÇ¼Ü¹¹ÔÚÔ´×Ôì¶ Mark Leisher µÄ FreeType font library¡£Òò´Ë XFree86 4.x µÄÉè¶¨µµÀàËÆì¶ xfsft ºÍ Redhat ÐÞ¸ÄµÄ xfs¡£

{\ttfamily FontPath} Ò»Ö±»¹ÔÚ {\ttfamily XF86Config} µµ¡£¶ø¶Ôì¶ Redhat xfs µÄÊ¹ÓÃÕß£¬Ö»Òª½« {\ttfamily FontPath} ´Ó {\ttfamily /etc/X11/fs/config} °á»Ø {\ttfamily XF86Config} ¼´¿É¡£¶øÏÖÈôÖ»Òª TrueType Ö§Ô®²»ÔÙÐèÒª xfs ÁË¡£³ý·ÇÄã»¹ÐèÒªÌá¹©ÍøÂ·ÉÏÆäËû client ×ÖÐÍ£¬·ñ¿ÉÄã¿ÉÒÔ½« xfs ¹Ø±Õ¡£

\begin{verbatim}
 Section "Files"
  FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/misc"
  FontPath "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath "/usr/share/fonts/default/Type1"
  FontPath "/usr/local/share/fonts/ttfonts"
  FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
 EndSection
\end{verbatim}


ÎªÁËÊ¹ÓÃ TrueType ×Ö£¬Äã»¹±ØÐëÔÚ "Module" ÄÇ½ÚÒªÖ¸¶¨ X server ÒªÊ¹ÓÃÄÄÒ»¸öÄ£×é:

\begin{verbatim}
 Section "Module"
  Load  "freetype"
  Load  "speedo"
  Load  "type1"
 EndSection
\end{verbatim}


¾ÍÈçÍ¬ xfsft ºÍ Redhat µÄ xfs£¬Äã»¹±ØÐëÔÚÃ¿Ò»¸ö TrueType ×ÖÐÍÄ¿Â¼ÏÂ²úÉú {\ttfamily fonts.scale} ºÍ {\ttfamily fonts.dir} µµ¡£¶ø \nameurl{http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz}{ttmkfdir} ÔÚ²úÉú {\ttfamily fonts.scale} Ê±ºÜÓÐÓÃ¡£Çë²Î¿¼Ç°Ãæ xfs ÄÇ½ÚÒÔÈ¡µÃ¸üÏêÏ¸µÄ×ÊÁÏºÍÀý×Ó¡£

{\ttfamily xtt} ÊÇÁíÒ»¸öÒÔÖ§Ô®±íÒâÎÄ×Ö (ideographics, Oriental) ÖøÃû TrueType Ä£×é¡£Á½ÖÖ¶¼¿ÉÊ¹ÓÃ£¬µ«ÊÇÔÚÍ¬Ò»Ê±¼äÄãÖ»ÄÜÊ¹ÓÃÒ»ÖÖ¡£




\section{µ÷ÕûÓ¦ÓÃ³ÌÊ½µÄ×ÖÐÍ}


\subsection{KDE}

ÔÚÕâ¶ÎÈÕ×ÓÀï£¬KDE ÊÇÔÚ Linux ºÍ X Àï·¢Éú¹ý×îºÃµÄÊÂÇéÖ®Ò»¡£ËüÌá¹©ÁËÒ»¸öÒ»ÖÂµÄÊ¹ÓÃÕß½éÃæ£¬ÈÃÒ»°ã´óÖÚÄÜ¹»½Ó´¥ Linux¡£Äã¿ÉÒÔÔÚ \nameurl{http://www.kde.org/}{http://www.kde.org/.} ÕÒµ½¸üÏêÏ¸µÄ×ÊÁÏ¡£ÎªÊ²÷áÎÒ»áÔÚÕâ´ó´ó³ÆÔÞËüÄØ? ÕâÊÇÒòÎª KDE 1.1 ÓÐ¸öÐÂÌØÉ«£¬ÄÜ¹»ÈÃÄã³ÌÊ½µÄ×ÖÐÍºÍÑÕÉ«ÓëÏÖÔÚµÄ KDE ·ç¸ñÒ»ÖÂ£¬°üÀ¨·Ç KDE µÄÓ¦ÓÃ³ÌÊ½¡£


\subsubsection{ÔÚ·Ç KDE µÄÓ¦ÓÃ³ÌÊ½ÉÏÓ¦ÓÃ KDE µÄ×ÖÐÍºÍÑÕÉ«}

ÕâºÜ¼òµ¥¡£Ö»Òª´ò¿ª KDE µÄ¿ØÖÆÖÐÐÄ(Control Center)ÏÂÃæµÄ Desktop ÏÂÃæµÄ style¡£ÄÇÀïÓÐ¸öÑ¡Ïî½Ð×ö "Apply fonts and colors to non-KDE apps"(½«×ÖÐÍÓëÑÕÉ«Ó¦ÓÃµ½·Ç KDE µÄÓ¦ÓÃ³ÌÊ½)£¬´ò¿ªËü£¬Ñ¡ OK£¬ÕâÑù¾ÍÍê³ÉÁË! ÏÂ´ÎÄã¿ªÆôÐí¶àµÄ X Ó¦ÓÃ³ÌÊ½£¬ËüÃÇ¾Í»áÏñÆäËûµÄ KDE Ó¦ÓÃ³ÌÊ½°ã£¬Ê¹ÓÃÏàÍ¬µÄÑÕÉ«Óë×ÖÐÍ¡£ÓÐÐ©ÈË×îÏ²»¶ÕâÏîÌØÉ«£¬µ«ÈôÄã²»Ï²»¶µÄ»°£¬Ò²¿ÉÒÔ½«Ëü¹Øµô¡£


\subsection{Netscape}

ÈÃÎÒÃÇÕýÊÓÕâ¸öÎÊÌâ°É! Netscape ÔÚ Linux ÖÐÊÇÒ»¸öÖØÒªµÄÓ¦ÓÃ³ÌÊ½¡£ÎÒÃÇ¶¼ÐèÒªËü£¬Ò²¶¼Ê¹ÓÃËü£¬ËùÒÔÖµµÃÌØ±ð»¨µãÊ±¼äÀ´ÑÐ¾¿Ëü¡£´ò´Ó°²×°áá£¬Netscape ¾Í³öÏÖÎÒÃÇ¸Õ¸ÕËùÌÖÂÛµ½×ÖÐÍÎÊÌâ -- ´ó×ÖÓÐ¾â³Ý×´£¬ÄÑ¿´µÄ×Ö£¬×ÖÌ«Ð¡ÄÑÒÔÔÄ¶Á¡£Ò»ÑÔÒÔ±ÎÖ®£¬³ó¡£Ëµ²»¶¨Õâ¾ÍÊÇÎªÊ²÷áÄãÔÚ¿´ÕâÆªÎÄÕÂµÄÔ­ÒòÁË?

Ï£ÍûÔÚÕâ¸öÊ±ºòÄãÒÑ¾­²ÉÄÉÁËÇ°ÃæµÄ½¨Òé¡£ÄÇÐ©²½Öè´óÓÐ°ïÖú¡£TrueType ×ÖÐÍ¼¸ºõÊÇ±ØÐëµÄ£¬¶øÄãÒ²ÐèÒªÒ»¸ö TrueType ×ÖÐÍËÅ·þÆ÷¡£Ðí¶àµÄÍøÒ³»áÖ¸¶¨Ê¹ÓÃµÄ×ÖÐÍÖÖÀà(family)£¬Èç Arial£¬µ«ÊÇÍ¨³£ Linux µÄÊ¹ÓÃÕßÈ´Ã»ÓÐ¡£ËäÈ»ÕâÊÇ¸ö²î¾¢µÄÉè¼Æ£¬µ«ÊÇÈç¹ûÓÐÐ©¼òµ¥µÄ TrueType ×Ö½«´ó´ó°ïÖúÎÒÃÇ¿Ë·þÄÇÐ©¶ÌÊÓµÄÉè¼Æ¡£Microsoft -- ÎÞ·¨¿¿Ëü£¬µ«È´Ò²ÉÙ²»ÁËËü (can't live with 'em, can't live without 'em)¡£

¼ÙÉèÄãÒÑ¾­¿ÉÒÔÊ¹ÓÃ TrueType ÁË£¬´Ó Netscape µÄÑ¡µ¥ÉÏÑ¡ {\ttfamily Edit -{$>$} Preferences -{$>$} Fonts}¡£ÔÚÊÓ´°µÄÓÒÊÖ±ßÀ­ÏÂ {\ttfamily Variable Width Font} µÄÑ¡µ¥£¬Ó¦¸Ã¿ÉÒÔ¿´µ½ÄãµÄ TrueType ºÍÆäËûµÄ×ÖÐÍ¡£Ñ¡ÔñÒ»¸öÄãÏ²»¶µÄµ±×÷Ô¤Éè¡£Ò²Ñ¡È¡ {\ttfamily Allow Scaling} ¡£Èô¿ÉÓÃµÄ×ÖÐÍµãÊýÖ»ÓÐ 0 µ½ 12 µã£¬Äã¿ÉÒÔÔÚÊäÈëÀ¸ÖÐ×Ô¼º¼üÈëÏëÒªµÄµãÊý£¬È»ááÑ¡ {\ttfamily OK}¡£Netscape µÄÈ±µãÊÇËü²»»á¼ÇµÃÕâÐ©Éè¶¨£¬ËùÒÔÄã±ØÐëÔÚÃ¿´ÎÆô¶¯ Netscape µÄÊ±ºòÖØ×÷Ò»´Î£¬³ý·ÇÄã½« {\ttfamily fonts.alias} Éè¶¨ºÃ²Å¿ÉÒÔ½â¾öÕâ¸öÎÊÌâ¡£Çë²Î¿¼{\ttfamily fonts.alias} ÄÇÒ»½Ú¡£ 

Ò²ÐíÄãÏëÊÔÊÔ {\ttfamily \~{}/.Xdefaults} (ÔÚÄãÏµÍ³ÖÐÒ²ÐíÊÇ {\ttfamily \~{}/.Xresources}) ÀïµÄÉè¶¨:

\begin{verbatim}
 Netscape*DocumentFonts.sizeIncrement: 10
 Netscape*documentFonts.xResolution*iso-8859-1: 120
 Netscape*documentFonts.yResolution*iso-8859-1: 120
\end{verbatim}


µ± Netscape Ê¹ÓÃ²»Í¬µÄ 'basefont'£¬'sizeIncrement' ¿ØÖÆÃ¿Ò»¼¶µÄ´óÐ¡²î:

\begin{verbatim}
 <basefont size=7>
\end{verbatim}


¾ÙÀýÀ´Ëµ£¬Ô¤ÉèÊÇ '20'£¬ËüÏàµ±ºÏÊÊ¡£¸Ä±äÕâ¸öÖµ½«»á²»ÈÃ Netscape ¹ý¶ÈËõ·Å×ÖÐÍ¡£x ºÍ y µÄ½âÎö¶È´óÂÔºÍ 'dpi' ÏàÍ¬¡£ÔÚºÏÀíµÄ¡õÎ§ÖÐ£¬ÈÎºÎµÄÊý×Ö¶¼¿ÉÒÔÊ¹ÓÃ¡£Äã¿ÉÒÔ×öÐ©ÊµÑé¡£ 

Ö´ÐÐ:

\begin{verbatim}
 $ xrdb -load ~/.Xdefaults
\end{verbatim}


(»ò {\ttfamily .Xresources})¡£È»ááÖØÐÂÆô¶¯ Netscape¡£ÓÐÐí¶àÉè¶¨¶¼¿ÉÒÔÕâÑù¸Ä±ä¡£¿´¿´ {\ttfamily Netscape.ad} µµ (Ó¦ÓÃ³ÌÊ½µÄÔ¤ÉèÖµ)£¬ËüÓ¦¸Ã°üº¬ÔÚ Netscape µÄÌ×¼þÖÐ¡£

ÈôÊÇÕâÑùµÄ·½·¨²¢²»ÄÜ½â¾ö Netscape Ð¡×ÖµÄÎÊÌâ£¬¿´¿´Ç°Ãæ {\ttfamily fonts.alias} ÄÇ½Ú¡£Äã¿ÉÒÔÒÔÕâÖÖ·½Ê½Ï¸µ÷Ðí¶àÉè¶¨¡£

Mozilla µÄÉè¶¨Ó¦¸Ã´óÂÔÏàÍ¬¡£µ«ÊÇÄã»á·¢ÏÖ Mozilla ÔÚ X ÖÐ´¦Àí×ÖÐÍ×öµÄ½ÏºÃ£¬ËùÒÔÕûÌå¿´ÆðÀ´»á±È½ÏºÃ¡£


\section{ÔÓÏîºÍ½áÎ²}


\subsection{¼ÇÂ¼}

²»ÐÒµÄÊÇÔÚ Linux ÖÐ²¢Ã»ÓÐÒ»¸öÍ³Ò»µÄ×ÖÐÍ´¦ÀíÏµÍ³¡£Äã±ØÐëÕë¶ÔÃ¿Ò»¸ö³ÌÊ½Éè¶¨²ÅÄÜÊ¹ÓÃ TrueType, Type 1 ºÍÆäËûÄãÓÐÐËÈ¤µÄ×ÖÐÍ¡£¶øÃ¿Ò»¸öÓ¦ÓÃ³ÌÊ½Ò²¶¼ÓÐ×Ô¼ºµÄÉè¶¨·½Ê½£¬ËùÒÔÄã±ØÐë×Ô¼º³¢ÊÔ¡£

´ó²¿·ÖÍ¼ÐÎ½éÃæµÄÓ¦ÓÃ³ÌÊ½Ó¦¸Ã¶¼¿ÉÒÔÊ¹ÓÃ TrueType ºÍ Type 1 ×ÖÐÍ¡£È»¶ø£¬Linux °æµÄ WordPerfect È´ÎÞ·¨Ê¹ÓÃ TrueType¡£(Çë¼ûÏÂÃæµÄÁ¬½áÒÔÈ¡µÄ¸ü¶à¹Øì¶ WordPerfect µÄÇéÐÎ)¡£ÎÄ×Ö±à¼­Æ÷£¬ÖÕ¶Ë»úÕâÀàµÄ³ÌÊ½ÐèÒª¹Ì¶¨¿í¶È×ÖÐÍ£¬ËùÒÔ¶Ô TrueType ºÍÆäËû¿ÉËõ·ÅµÄ×ÖÐÍÎÞ·¨ºÃºÃ´¦Àí¡£ 

ËäÈ»ÔÚÕâÀïÃ»ÓÐÌÖÂÛµ½£¬µ«ÊÇ Type 1 ×ÖÐÍÒ²Ìá¹©ÁËÐí¶àÈç TrueType ×ÖÐÍµÄºÃ´¦¡£Äã¿ÉÄÜÒÑ¾­°²×°ÁË²»ÉÙ¡£²»ÐÒµÄÊÇ Type 1 ²»Ïñ TrueType Ò»ÑùÊÇÍøÂ·ÉÏµÄ±ê×¼¡£µ«ÊÇËüÃÇÔÚÐí¶àÆäËûÇéÐÎÏÂÈ´ºÜºÏÊÊ£¬ÈçÁÐÓ¡¡£¿ÉÒÔ²Î¿¼ \nameurl{http://www.ghostscript.com}{ghostscript} ÒÔÈ¡µÄ¸ü¶àµÄ×ÊÑ¶¡£



ÏÖ½ñµÄ XFree86 »¹²»Ö§Ô®×Ö±ßÈá»¯(Anti-aliasing)¡£ 

ËäÈ»¿ÉÒÔÔ¤Éè×ÖÐÍµãÊý¸ø xfs ×ÖÐÍËÅ·þÆ÷£¬µ«ÊÇ¼¸ºõÃ»Ê²÷áÓ¦ÓÃ³ÌÊ½»áÕæÕýÓÃµ½Ëü¡£


\subsection{Á¬½á}

\nameurl{http://linuxdoc.org/HOWTO/XFree86-Video-Timing-HOWTO.html}{Video Timing HOWTO}£¬ÓÐ¹Øì¶Ó©Ä»µÄÉè¶¨¡£

\nameurl{http://www.linuxdoc.org/HOWTO/Font-HOWTO.html}{Font HOWTO}£¬ÓÐÐí¶à¹Øì¶°²×°×ÖÐÍºÍÒ»Ð©Ó¦ÓÃ³ÌÊ½£¬Èç StarOffice, Applixware, Wordperfect, Ghostscript, TeX/LaTeX µÄ×ÖÐÍ¼¼ÇÉ¡£

\nameurl{http://www.moisty.org/~brion/linux/TrueType-HOWTO.html}{TrueType HOWTO}£¬¹Øì¶ÁÐÓ¡ºÍÒ»Ð©¹Øì¶Ó¦ÓÃ³ÌÊ½µÄ¼¼ÇÉ¡£

\nameurl{http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/}{xfsft Homepage}£¬X µÄ TrueType Ö§Ô®¡£ÕâÊÇ XFree86 4.x ×ÖÐÍÄ£×éºÍ Redhat µÄ xfs µÄÆðÔ´¡£ºÃÕ¾£¬ÓÐÒ»Ð©¹Øì¶×ÖÐÍºÍ TrueType µÄÁ¬½á¡£

\nameurl{http://home.c2i.net/dark/linux.html}{Some Linux for Beginners}£¬ºÜ°ôµÄÕ¾£¬ÓÐ¹Øì¶×ÖÐÍºÍÆäËû Linux µÄÌâÄ¿¡£º¬¸ÇÁËÐí¶àÕâÀïÌÖÂÛ¹ýÖ÷Ìâ²¢ÇÒ¸üÎªÏêÏ¸¡£

\nameurl{http://X-TT.dsl.gr.jp/}{X-TrueType Homepage}£¬ÁíÍâµÄ TrueType ×ÖÐÍËÅ·þÆ÷£¬¶ÔÈÕÎÄ£¬ÖÐÎÄºÍº«ÎÄºÜ·½±ã¡£

\nameurl{http://help.netscape.com/kb/consumer/19960513-54.html}{Netscape}£¬Ò»Ð©¹Øì¶×ÖÐÍ´óÐ¡µÄ¼¼ÇÉ¡£

{\ttfamily Using Corel Wordperfect 8 for Linux} ×÷Õß Rod Smith µÄ \nameurl{http://www.rodsbooks.com/wpfonts/}{Wordperfect for Linux -- Fonts and Printers}£¬ÓÐ¹Øì¶ Wordperfect ºÍÈçºÎÊ¹ÓÃ TrueType ¡£ÓÐºÜ°ôµÄ×ÊÁÏ¡£

\nameurl{http://www.xfree86.org}{XFree86 Project}£¬ÀïÃæµÄÈË»¨ÁËÎÞ¿É¼ÆÊýµÄ¹¦·ò¸øÁËÎÒÃÇÒ»¸öÉ±ÊÖ¼¶µÄÍ¼ÐÎ½éÃæ»·¾³¡£ÔÚ \nameurl{http://www.xfree86.org/4.0/fonts.html}{XFree86 4.x} ÀïÓÐÐ©×ÖÐÍµÄ×ÊÁÏ¡£

\nameurl{http://www.microsoft.com/typography/fontpack/default.htm}{Microsoft Web Fonts}£¬ÉîÈë»¢Ñ¨¡£¶øÇÒËûÃÇ»¹ÊÇÃâ·ÑµÄÒ®¡£ÈôÄãÃ»ÓÐwin32 µÄÏµÍ³À´½â¿ª£¬Çë×¥±êÊ¾ Win3.1 µÄÄÇÒ»¸ö¡£Ëü¿ÉÒÔÔÚ Linux ÏÂ½â¿ª (¼ûÇ°Ãæ)¡£

\nameurl{http://rpmfind.net/linux/RPM/contrib/noarch/noarch/webfonts-1-3.noarch.html}{Web Fonts RPM package}£¬°üº¬Ðí¶à MS µÄÍøÂ·ä¯ÀÀÆ÷Ê¹ÓÃ×ÖÐÍ¡£

Hewlett Packard -- Garamond, Bodoni, Dark Courier, Euro Sign ºÍ Ozzie Black µÄ \nameurl{http://www.fontsmart.com/fonts.htm}{HP FontSmart TrueType Fonts}¡£¿ÉÒÔÔÚ Linux ÏÂÓÃ {\ttfamily unzip} ½â¿ª¡£

\nameurl{http://www.freewareconnection.com/fonts.html}{Freeware Connection -- Free Fonts Sites} Ò»¶Ñµ½Ðí¶àÕ¾µÄÁ¬½á¡£

\nameurl{http://www.will-harris.com/fonts/freefonts.htm}{Bitstream's Geometric Slabserif}£¬TrueType ×ÖÐÍ¡£

ÎÒ»¹ÓÐÎ¬»¤ Redhat µÄ xfs£¬
\nameurl{http://feenix.eyep.net/xstuff/xfs.html}{help and troubleshooting page}¡£»¹ÓÐÒ»¸ö°üº¬ MS TrueType ×ÖÐÍ£¬fonts.scale ºÍ fonts.dir µÄ RPM Ì×¼þ¡£

\end{document}
