[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
carbon emacs on macosx: how to define a fontset
From: |
Arnaud Delobelle |
Subject: |
carbon emacs on macosx: how to define a fontset |
Date: |
Tue, 03 Feb 2004 13:33:33 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 |
Hi
I use emacs 21.3.50.1 that I compiled --with-carbon --without-x on
macosx Panther. The default fontset is too small for my eyes and I want
a courier font and latin-1 characters so I set about finding out what to do:
Here's what I found:
;; To print my french accents rather than ugly squares:
(set-language-environment "Latin-1")
;; To be able to type in my nice accents:
(set-keyboard-coding-system 'mac-roman)
;; To have the right fontset
(create-fontset-from-fontset-spec
"-apple-courier-medium-r-normal--14-*-*-*-*-*-fontset-courier,ascii:-apple-courier-medium-r-normal--14-140-75-75-m-140-mac-roman,latin-iso8859-1:-apple-courier-medium-r-normal--14-140-75-75-m-140-mac-roman")
Now it's the last line that I have queries about. How do I define a
fontset? Under X I imagine I would use xfontsel to make it up, but how
do I do it on macosx? I stole this particular fontset defintion string
by doing M-x describe-fontset on 'Enhanced Emacs for MacOS X' (which I
don't want on my computer because it's 150Mb), but how do I make up my
own? I would like my font to be a bit larger than 14pt, so I tried to
blindingly fiddle with it (like changing 14 to 16), but with no success.
Thanks for any pointer.
--
Arnaud Delobelle
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- carbon emacs on macosx: how to define a fontset,
Arnaud Delobelle <=