help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latin-1 under MacOS


From: Kai-Mikael Jää-Aro
Subject: Re: Latin-1 under MacOS
Date: 15 Jan 2004 20:09:13 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

tfb@famine.OCF.Berkeley.EDU (Thomas F. Burdick) writes:

> Konrad Hinsen <konrad.hinsen@laposte.net> writes:
> 
> ;; Apparently we need to create a "fontset" for every Mac font that we use.
> ;; We need to tell the fontset to include the font for *every* encoding
> ;; we want it to support, otherwise, we'll get little boxes.  This *sucks*.
> (create-fontset-from-fontset-spec
>  "-apple-monaco-medium-r-normal--10-*-*-*-*-*-fontset-monaco,
> ascii:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman,
> latin-iso8859-1:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman")
> 
> (setq default-frame-alist
>       `((font . "fontset-monaco")
>       (width . 85) (height . 30)
>       ,@default-frame-alist))
> 
> Try evaluating the call to create-fontset-from-fontset-spec that you
> have by pasting it into the *scratch* buffer, then hitting C-j.  Do
> you get any errors?

I get errors, but then I already have that create-fontset-... in my .emacs, 
to be precise I have the following:

(cond ((string-equal window-system "mac")
       (set-language-environment "Latin-1")
       (set-keyboard-coding-system 'mac-roman) 
       (create-fontset-from-fontset-spec
         
"-apple-monaco-medium-r-normal--10-*-*-*-*-*-fontset-monaco,ascii:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman,latin-iso8859-1:-apple-monaco-medium-r-normal--10-100-75-75-m-100-mac-roman")
       ))

and I still get little boxes for the interesting characters.

I have what claims to be Emacs 21.3.50.1, running under OS X 10.2.8.

-- 
Kai-Mikael Jää-Aro      email:  kai@nada.kth.se     "Don't win, don't lose."
NADA, KTH               voice:  +46 8 790 61 18         -- Yoshigasaki-sensei
SE-100 44  Stockholm    fax:    +46 8 10 24 77
SWEDEN                  


reply via email to

[Prev in Thread] Current Thread [Next in Thread]