[OS X TeX] nice fixed iso-8859-* font for carbon Emacs

Siep Kroonenberg siepo at cybercomm.nl
Mon Sep 13 06:18:14 EDT 2004


On Sun, Sep 12, 2004 at 09:09:28AM -0400, Tamas K Papp wrote:
> Hi,
> 
> Is there a nice-looking fixed-width font with iso-8859-* (latin-1 is
> OK, latin-2 would be nice) which I could use with my Carbon Emacs?  I
> am currently using GNU-European, and I was wondering if there is
> anything else that other people find working better.  This is OK, but
> the accents look a bit different from other fonts on my desktop, and
> it is not as smooth as Apple's fonts (which are macroman, and not good
> for typing accented text in Emacs, at least I have not succeeded).
> 
> Thanks
> 
> Tamas

You don't really need an iso-8859-* font to get latin-1 encoding. I
got the following code in my .emacs to turn on Latin 1 with Monaco
(don't ask me what it means):

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(set-language-environment "Latin-1")

(require 'ucs-tables)
(unify-8859-on-encoding-mode 1)
(unify-8859-on-decoding-mode 1)

(create-fontset-from-fontset-spec
  "-apple-monaco-medium-r-normal--9-*-*-*-*-*-fontset-monaco,
  ascii:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
  latin-iso8859-15:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman,
  latin-iso8859-1:-apple-monaco-medium-r-normal--9-90-75-75-m-90-mac-roman")

(set-frame-font "fontset-monaco")

(add-to-list 'default-frame-alist
 '(font . "fontset-monaco"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

-- 
Siep Kroonenberg
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list