µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux×ÊѶ - ÔÚºìñ×Ó6.0ÖÐʹÓÃTrueType×ÖÌå½â¾ö·½°¸

ÔÚºìñ×Ó6.0ÖÐʹÓÃTrueType×ÖÌå½â¾ö·½°¸

¡¡¡¡Ê×ÏÈÉùÃ÷ÎÒ²»ÊÇÕâ·½ÃæµÄר¼Ò£»ÎÒѹ¸ù¶ù²»ÖªµÀPostScriptºÍTrueType×ÖÌåÖ®¼äµÄ²îÒ죻ÏÖÔÚÎÒÉõÖÁ²»ÏëÖªµÀ¡£ÎÒÏ£ÍûµÄÖ»ÊǶ«Î÷ÄÜÔË×÷¡£¶ÔÄÇЩϸ½Ú£¬ÎÒÒª²ÙÐĵĻ¹¶àµÄºÜ¡£µ«µ±ÖªµÀÕâЩϸ½Ú¶ÔÒ»¸ö¹ý³Ì»òÏîÄ¿µÄ³É¹¦ºÜÖØҪʱ£¬ÎҵĿ´·¨Á¢¿Ì±äÁË¡£ ¡¡¡¡¡¡¡¡¿ªÊ¼×ÅÊÖ¡­¡¡¡¡ÔÚ°´ÕÕkegel.comµÄÎĵµ²Ù×÷ºó£¬Ì죬ÎÒ¾¹¿´²»³öÎÒµÄ×ÖÌåÔÚNetscape(4.61)ÓëStarOffice 5.1ÖÐÓÐʲô²î±ð¡£¡°ÔõôÁË£¿¡±ÎÒÏë¡£ÔÚÀË·ÑÁËÐí¶àʱ¼äÓ벻ͣµÄ×çÖäºó£¬ÎÒ×îÖÕ¾ö¶¨×ªÏòRTFM¡£µ«Ã»Óá£Èç¹ûÄãÒÑÖªµÀxfsÈçºÎ¹¤×÷£¬ÄÇôxfsÊÖ²áÒ³µ±È»ºÜºÃ£¬µ«Ëü¾¹Á¬ÅäÖÃÎļþÔÚÄĶù¶¼²»¸æËßÄ㣨Ìáʾ£º/etc/X11/fs/config£©¡£¡¡¡¡ÎҵĵÚÒ»¸öÎÊÌâÊÇ£¬chkfontpath(8)ȷʵ½«ÐÂ×ÖÌå·¾¶Ìí¼Óµ½xfsÅäÖÃÎļþÁË£¬µ«Èç¹ûÄãµÄ»úÆ÷ÅäÖÃΪʹÓõ½ÄãµÄ×ÖÌåĿ¼µÄÖ±½Ó·¾¶£¬Ëü²¢²»ÐÞ¸ÄÈκζ«Î÷¡£Õâ¾ÍÊÇÎÒµÄÔâÓö¡£ ¡¡¡¡¡¡¡¡ÐÞ¸ÄÄãµÄFontPathÒÔ±ãËüʹÓÃxfs¡ª¡ªµÚÒ»²¿·Ö¡¡¡¡ÎÒÒª×öµÄµÚÒ»¼þÊÂÊÇÈÃXºÍÎÒµÄ×ÖÌå·þÎñÆ÷¶Ô»°¡£ËäÈ»ÎÒµÄRedHatÅäÖóÉxfs×Ô¶¯Æô¶¯£¬µ«ÎÒµÄX¿´À´²¢Î´ºÍËü¶Ô»°¡£ÊÂʵÉÏ£¬ÎÒÓÃlsof(8)ÊÔ×ÅÕÒ³öxfsÔÚÌýÄĸö¶Ë¿Ú£¬Ëü¾ÓȻʲô¶Ë¿ÚҲûÓÐÌý¡£Õâ¿ÉÄÜÏÔʾÁËÎÒ¶ÔxfsµÄÎÞÖª£¬ÎÒµÄ/etc/rc.d/init.d/xfsÖÐxfsÆô¶¯ÐÐÊÇÕâÑùµÄ£º¡¡¡¡daemon --check xfs su xfs -c \"xfs -port -1\" -s /bin/sh¡¡¡¡xfsÊÖ²áÒ³ÃèÊö¶Ë¿ÚÑ¡ÏîΪÈÃxfs·þÎñÆ÷ÌýµÄ¶Ë¿Ú¡£¶Ë¿Ú¡°-1¡±ÌýÀ´Ëƺõ²»¶ÔÍ·£¬»òÐíËüÊÇÎÒËù²»ÊìϤµÄʲôµÄËõд£¨Çë¾ÀÕý£¬±ð¿ÍÆø£©£¬ÓÚÊÇ£¬ÎÒ½«xfsµÄ¶Ë¿ÚÉèÖÃΪ±ê×¼¶Ë¿Ú7100£º¡¡¡¡daemon --check xfs su xfs -c \"xfs -port -1\" -s /bin/sh £¨Òë×¢£ºÔ­ÎÄÈç´Ë£©¡¡¡¡È»ºóÎÒÒÔrootÖØÆôxfs£¨/etc/rc.d/init.d/xfsÖØÆô£©¡£ºÃ¼«ÁË¡ªxfsÔËÐÐÈçÎÒËùÔ¸£¬¿ÉÊÇΪʲôÎÒµÄ×ÖÌåÔÚÖØÆôX²¢µÇ¼ºó²¢Î´¸üºÃ¿´Ò»Ð©ÄØ£¿ ¡¡¡¡¡¡¡¡ÈÃXºÍxfs·þÎñÆ÷¶Ô»°¡¡¡¡¿´À´ÎÒµÄxfsËäÈ»ºÜÀÖÒâ·þÎñ£¬¿ÉÊÇÎÒµÄX·þÎñÆ÷²»È¥ÌýËü¡£ÎÒÓÐÒ»¸öIBM Thinkpad 760e£¬ÖªµÀÅäÖÃXµÄÍ´¿à¡£Òò´ËÎÒ±£´æÁËÎÒµÄXF86ConfigÎļþµÄÒ»¸ö¸±±¾£¬¶ø·Çÿ´ÎÊÔ×ÅÈ¥²ÂÒ»¸öÐÂÅäÖã¨ËäÈ»Linux MandrakeÕâ·½ÃæµÄÄÜÁ¦¸øÎÒºÜÉîÓ³Ï󣩡£ÎҵľÉXF86ConfigÎļþûÓÐÈκÎÓëxfs·þÎñÆ÷¶Ô»°ÒýÓã¬ÎÒ²»µÃ²»ÊÖ¹¤±à¼­¡£Õâ¶ÔÄã¿ÉÄÜÓÐÓã¬Ò²¿ÉÄÜûÓУ¬µ«¶ÔÎÒÀ´Ëµ»¹ÊÇÓÐÓõġ£¡¡¡¡ÕâÊDZ༭ǰµÄ¾É½Ú£º¡¡¡¡Section "Files"¡¡¡¡RgbPath "/usr/X11R6/lib/X11/rgb"¡¡¡¡FontPath "/usr/X11R6/lib/X11/fonts/misc/"¡¡¡¡FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"¡¡¡¡FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"¡¡¡¡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/"¡¡¡¡FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"¡¡¡¡FontPath "/usr/local/lib/X11/fonts/Type1/"¡¡¡¡EndSection¡¡¡¡ÎÒÖ»ÊǼòµ¥µØÔÚÕâ¸öÎļþÀï¼ÓÁËÒ»¸öµ½×ÖÌå·þÎñÆ÷µÄÒýÓ㬲¢ÇÒ²»ÔÚ±¾µØĿ¼ÀïÕÒ×ÖÌ壺¡¡¡¡Section "Files"¡¡¡¡RgbPath "/usr/X11R6/lib/X11/rgb"¡¡¡¡FontPath "tcp/localhost:7100"¡¡¡¡EndSection¡¡¡¡¼òµ¥¶àÁË£¬ÊÇ°É£¿¿ÉÊÇÊÂʵ֤Ã÷»¹Óв»Ö¹Ò»¸öÒªÐ޸ĵĵط½¡£ ¡¡¡¡¡¡¡¡×îºóµÄµ¾²Ý¡¡¡¡ÎÒÓÐÐí¶à×ÖÌ壬ÆäʵÓÐÐí¶à¿´À´ÊǶàÓàµÄ£¬Ä³ÌìÎһᴦÀíµôËüÃǵġ£ÎÒµÄÎÊÌâÊÇX×ÖÌå·þÎñÆ÷»á°´xfsÅäÖÃÎļþÀïÁгöµÄ˳Ðò¹ýÒ»±éÁгöµÄ·¾¶¡£Èç¹ûÎÒÖ¸¶¨Ò»ÖÖÌض¨×ÖÄ£µÄ×ÖÌ壨a particular font from a particular foundry£©£¬Õ⵱ȻºÜºÃ£¬µ«ÎÒÖ»ÊǼòµ¥µØ˵£¬ÎÒÒª¡°Helvetica¡±×ÖÌ壬Ëü»á¸øÎÒÒ»¸ö×îÏÈÕÒµ½µÄ¡°Helvetica¡±×ÖÌ塪¡ª¶øÎÒÏ£ÍûËüÏÈÕÒµ½TrueType×ÖÌå¡£¡¡¡¡µ±ÎÒÓÃchkfontpatÌí¼ÓWindows×ÖÌå·¾¶Ê±£¬ÎÒ¼òµ¥µØ½«ÐÂĿ¼¼Óµ½×ÖÌå·¾¶±íµÄĩβ¡£½á¹ûºÍÎÒÆÚÍûµÄÏà·´¡£ ¡¡¡¡¡¡¡¡# Ñ°ÕÒ×ÖÌåµÄµØ·½¡¡¡¡# ÓÐһЩ±»×¢Ê͵ôÁË£¬ÀýÈçÔÚ/usr/shareÖеÄTrueTypeÓëType1Ŀ¼£¬ÒòΪËüÃDz»±ØÇ¿ÐÐËæXÒ»Æð°²×°¡£¡¡¡¡#¡¡¡¡catalogue = /usr/X11R6/lib/X11/fonts/misc,¡¡¡¡/usr/X11R6/lib/X11/fonts/75dpi,¡¡¡¡/usr/X11R6/lib/X11/fonts/100dpi,¡¡¡¡/usr/X11R6/lib/X11/fonts/Type1,¡¡¡¡/usr/X11R6/lib/X11/fonts/Speedo,¡¡¡¡/usr/local/lib/X11/fonts/Type1,¡¡¡¡/usr/X11R6/lib/X11/fonts/misc:unscaled,¡¡¡¡/usr/X11R6/lib/X11/fonts/100dpi:unscaled,¡¡¡¡/usr/X11R6/lib/X11/fonts/75dpi:unscaled,¡¡¡¡/dos/windows/fonts¡¡¡¡ÓÚÊÇ£¬ÎªÁ˵õ½ÎÒÏëÒªµÄ½á¹û£¬ÎÒ¼òµ¥µØÐÞ¸ÄÁË×ÖÌåµÄ˳Ðò£º ¡¡¡¡¡¡¡¡# Ñ°ÕÒ×ÖÌåµÄµØ·½¡¡¡¡# ÓÐһЩ±»×¢Ê͵ôÁË£¬ÀýÈçÔÚ/usr/shareÖеÄTrueTypeÓëType1Ŀ¼£¬ÒòΪËüÃDz»ÊÇËæXÇ¿Ðа²×°µÄ¡£¡¡¡¡#¡¡¡¡catalogue = /dos/windows/fonts,¡¡¡¡/usr/X11R6/lib/X11/fonts/misc,¡¡¡¡/usr/X11R6/lib/X11/fonts/75dpi,¡¡¡¡/usr/X11R6/lib/X11/fonts/100dpi,¡¡¡¡/usr/X11R6/lib/X11/fonts/Type1,¡¡¡¡/usr/X11R6/lib/X11/fonts/Speedo,¡¡¡¡/usr/local/lib/X11/fonts/Type1,¡¡¡¡/usr/X11R6/lib/X11/fonts/misc:unscaled,¡¡¡¡/usr/X11R6/lib/X11/fonts/100dpi:unscaled,¡¡¡¡/usr/X11R6/lib/X11/fonts/75dpi:unscaled ¡¡¡¡¡¡¡¡ÖÕÓڳɹ¦ÁË¡£ ¡¡¡¡¡¡¡¡Ï·¾çÐԵĽá¹û¡¡¡¡¶Ô¿´µ½ÕâÒ»ÇеÄÎÒÃÇÀ´Ëµ£¬½á¹ûºÃ¼«ÁË¡£ ¡¡¡¡¡¡¡¡ÕâÊDz¶×½µÄÒ»·ÝStarOffice2ÎĵµµÄ²¿·Ö»­Ã棬ÓÐÁ½ÐУºµÚÒ»ÐÐʹÓÃTrueTypeÐÍ"Times New Roman"×ÖÌ壬µÚ¶þÐÐÓÃÁË·ÇTrueTypeµÄ"Times"×ÖÌå¡£ ¡¡¡¡¡¡¡¡1.×¢£ºÓÐЩÈ˲¢²»»¨Ç®ÂòÈí¼þ£¬µ«ÎÒµÄÁíÒ»¸ö·ÖÇøȷʵÓÐÒ»·ÝºÏ·¨µÄWindows¿½±´¡£ÎÒ¾¡Á¿ÎªÎÒËùÓеÄÈí¼þ¸¶ÕÊ£¬¼´Ê¹ËüÀ´×Ô΢Èí¡£Fair is fair¡ªÎÒֻϣÍûÎïÓÐËùÖµ¡£ ¡¡¡¡¡¡¡¡2.±¾ÎÄÈ«²¿ÓÃStarOffice 5.1´ò³öÀ´¡ª¡ªÀÏʵ˵»¹²»´í¡£HtmlÀïÓÐÌ«¶àÎÞÓõıê¼Ç£¬µ«ÎÒÏëÎÒµÃÊÔÊÔ¡£ÎÒÔÚViperģʽͨ³£ÓÃEmacs¡£ ¡¡¡¡¡¡¡¡²Î¿¼ÎÄÕ£º ¡¡¡¡¡¡¡¡ÈÃGNU/LinuxϵÄStarOfficeµÄ×ÖÌåºÃ¿´ÆðÀ´¡¡¡¡by Zubin D. Dittia ([email protected]) ¡¡¡¡¡¡¡¡ÎÒ×î½ü´ÓSunµÄWebÖ÷Ò³(http://www.sun.com/staroffice/)ÏÂÔØÁËStarOffice£¬³É¹¦µØ°²×°ÔÚÎҵĺìñ×Ó6.0ÉÏ¡£ÕâÌ×Office¿´ÆðÀ´ÕæƯÁÁ£¬ËüµÄÑÝʾ¹¤¾ßÉõÖÁ±ÈMs OfficeµÄPowerpoint»¹ºÃ£¬µ«ÊÇ×ÖÌå¿´ÆðÀ´Ôà¶ø³ó£¬ÈÃÈ˺ܲ»Êæ·þ¡£¡¡¡¡ºÜÃ÷ÏÔ£¬Ô­ÒòÊÇXFree86ÏÖÔÚ»¹²»Ö§³ÖTrueType×ÖÌå¡£ÎÒÖªµÀ£¬TrueType×ÖÌåÒÔÇúÏß´æ´¢ÁË×ÖÌåµÄÃèÊö¶ø·Çλͼ£¬Òò¶ø¿ÉÒԺܺõØÀ­´óËõС¡£XµÄδÀ´°æ±¾¼´½«Ö§³ÖTrueType×ÖÌ壬¿ÉÊÇԶˮ¾È²»Á˽ü»ð¡£¡¡¡¡ÎÒ·¢ÏÖÖÁÉÙÓÐÒ»¸öwebÒ³ÔÚÐÞÕýÕâ¸öÎÊÌâÉϷdz£ÓаïÖú£ºhttp://www.mindspring.net/~john_mcl/adding_fonts.html£¬×÷ÕßÊÇJohn Mclaughlin ([email protected])¡£¾¡¹ÜÎÒ°´ÃèÊöµÄ²½ÖèÀ´ÓеãÎÊÌ⣬²»¹ýÔÚ»¨Á˵ãÁ¦ÆøºóÎÒÖÕÓÚÄÜÈÃ×ÖÌåÕýÈ·¹¤×÷ÁË¡£±¾Ò³ÃèÊöÁËÎҵIJ½Ö裬עÒâÎÒ½öÔÚºìñ×Ó6.0ϲâÊÔ¹ý£¬ÔÚÆäËûGNU/Linux·¢Ðа汾Ï¿ÉÄÜÒª×öµãÐ޸ġ£¡¡¡¡Dan KegelºóÀ´ÒýÎÒµ½ËûµÄWebÒ³£¨http://www.kegel.com/linux/tt.html£©£¬ÄÇÀïÓÐÒ»¸ö¸ü¼òµ¥µÄ·¨×ÓÈÃ×ÖÌåÔÚºìñ×Ó6.0ÏÂÕýÈ·¹¤×÷¡£¡¡¡¡ÎÒºóÀ´»¹ÌýAaron Bredon˵ÖÁÉÙºìñ×Ó·¢ÐаæÒѾ­°üÀ¨Á˶ÔTrueType×ÖÌåµÄÖ§³Ö£¬ÄÇôÄã¿ÉÒÔÒ»²½È¡´úÏÂÃæµÄµÚ3¡«13²½£ºÖ»Ðè±à¼­Îļþ/etc/X11/fs/config£¬¼ÓÈëTrueType×ÖÌåĿ¼£¬ÔÙÔËÐÐ/etc/rc.d/init.d/xfs restart¡£¡¡¡¡Õâ¸ö·¨×ÓÎÒûÊÔ¹ý£¬²»¹ýÎÒÏ£Íû´ó¼ÒÊÔÒ»ÊÔ£¬ÊµÔÚ²»ÐÐÔٻص½ÏÂÃæµÄÈß³¤µÄ²½ÖèÀ´¡£¡¡¡¡ÄãµÃÏ뾡·¨×Ó´ÓÐí¶àµØ·½µÃµ½¼¸ÖÖ²»Í¬µÄÔ´´úÂë·¢Ðа棬Ϊ¼òµ¥Æð¼û£¬ÎÒÒѽ«¸÷ÖÖ°üµÄ×îа汾£¨99.9.4£©´ò°üÔÚÒ»Æð£¬Äã¿ÉÏÂÔØ£ºhttp://king.ccrc.wustl.edu/~zubin/fontstuff.tgz¡£ÏÂÔØ»áÊ¡ÄãµÄÊ£¬µ«ÎÒû¼Æ»®²»¶ÏµØ¸üÐÂËü£¬Èç¹ûÄãÒª¸÷¸ö°üµÄ×îÐÂ×îÇ¿°æ±¾£¬ÄãµÃ×Ô¼ºµ½ÏÂÃæÌáµ½µÄµØÖ·ÏÂÔØ¡£ ¡¡¡¡¡¡¡¡µÚÒ»²½¡¡¡¡$ cd /usr/X11R6/lib/X11/fonts ¡¡¡¡$ mkdir tt_fonts ¡¡¡¡$ cd tt_fonts ¡¡¡¡$ cp /dos/windows/fonts/*.ttf .¡¡¡¡£¨ÓÃÄãµÄWindowsĿ¼ËùÔÚ·ÖÇøÈ¡´ú/dos£¬ÀýÈ磬/mnt/dos£© ¡¡¡¡¡¡¡¡×¢£ººÜ²»ÐÒ£¬²»ÄÜÃâ·ÑµÃµ½Ò»Ì׺õÄTrueType×ÖÌå¡£ÎÒÖ»ÄܼÙÉèÄãÄÜŪµ½MS WindowsʹÓõÄ×ÖÌ壬ÎÒÃǺóÃæÒªÓÃËü¡£ÄãÈôûÓÐWindows£¬Äã¿É´ÓËûÃǵÄwebÒ³µÃµ½Ò»Ð©Ãâ·ÑµÄMS×ÖÌ壺http://www.microsoft.com/typography/fontpack/default.htm¡£ÄãÒ²¿É´ÓwebÉϵÄÆäËûµØ·½ÕÒµ½ÆäËûºÜºÃµÄTrueType×ÖÌ壬µ½Õâ¸öURL¿´¿´Ò»¸öÃâ·Ñ×ÖÌåµÄwebµØÖ·ÁÐ±í£ºhttp://www.dcs.ed.ac.uk/home/jec/programs/xfsft/fonts.html¡£ ¡¡¡¡¡¡¡¡µÚ¶þ²½¡¡¡¡Åªµ½ttfmkdir£¨http://www.darmstadt.gmd.de/~pommnitz/xfsft.html£©£¬ÔÚtt_fontsĿ¼ÏÂÔËÐÐËü¡£ºìñ×ÓLinuxµÄ/usr/sbinÏÂÒѾ­°²×°ÁËÒ»¸ö£¬ËùÒÔÎÒÃÇÎÞÐèȥŪ¡£¡¡¡¡$ /usr/sbin/ttmkfdir > fonts.dir¡¡¡¡Äã¿ÉºöÂÔÈκδíÎóÏûÏ¢£¬»òÕßÈç¹ûÄãÔ¸Ò⣬Ä㾡¿Éɾ³ýËùÓÐÒýÆð´íÎóµÄ×ÖÌåÎļþ£¬ÖØÐÂÔËÐÐttfmkdir¡£ ¡¡¡¡¡¡¡¡µÚÈý²½¡¡¡¡´Óhttp://quadrant.netspace.net.au/ttf2pt1/Ūµ½ttf2pt1¡£ÎÒÓõİ汾ÔÚÎļþttf2pt1-311.tgz?¡¡¡¡$ cd /usr/local/src ¡¡¡¡$ tar xvfz ttf2pt1-311.tgz ¡¡¡¡$ cd ttf2pt1-311 ¡¡¡¡ÔÚ¸ÃĿ¼Ï±༭Makefile£¬×¢Ê͵ôËüÉùÃ÷ҪעÊ͵ôµÄÁ½ÐС£ÔËÐÐmake£º¡¡¡¡$make¡¡¡¡Éú³ÉÈý¸ö¶þ½øÖÆÎļþ£ºt1asm£¬ttf2pfaºÍttf2pt1 ¡¡¡¡¡¡¡¡µÚËIJ½¡¡¡¡´Óhttp://www.moisty.org/linux/ttf.htmlÏÂÔØttfutils·¢Ðа棬ÎÒÓõİ汾ÔÚÎļþttfutils-0.1.tar.gz¡£¡¡¡¡$ cd /usr/local/src ¡¡¡¡$ tar xvfz ttfutils-0.1.tar.gz ¡¡¡¡¡¡¡¡µÚÎå²½¡¡¡¡Ö´ÐÐÏÂÁÐÃüÁ¡¡¡¡$ setenv PATH ${PATH}:/usr/local/src/ttf2pt1-311 ¡¡¡¡$ setenv PATH
[1] [2] ÏÂÒ»Ò³ 

£¨³ö´¦£ºhttp://www.sheup.com£©


ÉÏÒ»Ò³ [1] [2]