From: Andrew C. <ak...@sh...> - 2002-04-27 16:50:14
|
> Thanks for the prompt response. Does this mean that when I put > (setq default-frame-alist > '((font . "-*-Courier-*-*-*-*-14-*-*-*-*-*-*-*"))) > Emacs is actually using the TTF fonts rather than the postscript? > Why was this working with your previous patches? :-) > So, in general, what kind of fonts can I provide to Emacs? Hi Enrico, It is not a matter of Truetype versus Postscript fonts; it is one of whether Emacs recognizes a font as having a bold/italic variant. The -ETL-* fonts are just bitmap fonts but they are specially handled in the X Font Specs emulation code to provide bold and italic variants for use by Emacs. Do bold and italic characters other than -ETL-* show up in my previous patch? I don't see how they could but I'll check this. Perhaps the best solution is to enable Emacs to use the bold and italic variants of fonts like Monaco and Courier. I'll take a look at how hard it will be to make that work. It probably isn't too hard. Bold will look fine, but I'm not sure about italics. Personally, I use -ETL-* all the time and they look very nice to me. -ETL-fixed-*16* also works great along side 16x16 Chinese characters! To see what fonts Emacs recognizes, use the function x-list-fonts. See the examples below to see how to use it. Andrew. ----- (setq eval-expression-print-length 100) 100 (x-list-fonts "*courier*14*") ("-apple-courier-medium-r-normal--14-140-75-75-m-140-mac-roman" "-apple-courier-medium-r-normal--14-140-75-75-m-140-mac-roman") (x-list-fonts "*monaco*14*") ("-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman" "-apple-monaco-medium-r-normal--14-140-75-75-m-140-mac-roman") (x-list-fonts "*fixed*16*") ("-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-8" "-sony-fixed-medium-r-normal--16-160-75-75-m-160-jisx0201.1976-0" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-koi8-r" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-7" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-5" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-9" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-4" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-3" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-2" "-etl-fixed-bold-i-normal--16-160-75-75-m-160-iso8859-1" "-etl-fixed-medium-i-normal--16-160-75-75-m-160-iso8859-1" "-etl-fixed-bold-r-normal--16-160-75-75-m-160-iso8859-1" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-iso8859-1" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-viscii1.1-1" "-misc-fixed-medium-r-normal--16-160-75-75-m-160-mulelao-1" "-etl-fixed-medium-r-normal--16-160-75-75-m-160-tis620.2529-1") |