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

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

Re: Using Emacs 22 Courier font in Emacs 23?


From: Peter Dyballa
Subject: Re: Using Emacs 22 Courier font in Emacs 23?
Date: Sat, 15 Aug 2009 19:39:12 +0200


Am 15.08.2009 um 16:08 schrieb Nicolas:

Any idea?

Maybe it has to do with the way GNU Emacs receives the fonts. In X11 you have two options: either (X11) server side or (libfontconfig) client side. This can make, no: this does regularly make a difference! I don't these between the two Emacsen (I can use GNU Emacs 21.3.50, i.e. pre-22.x, 22.x, and many 23.0.x and 23.1.50, the latter ones all from CVS), because I am using fontsets and I am using ]initial|default}-frame-alist:

        (setq initial-frame-alist
                ...
               '(font . "fontset-10pt_lucida_sans_typewriter")
                ...)

This fontset is defined as this:

(create-fontset-from-fontset-spec "-b&h-lucidatypewriter-medium- r-*-*-10-*-*-*-*-*-fontset-10pt_lucida_sans_typewriter" t 'noerror) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-1 '("lucidatypewriter" . "iso8859-1")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-2 '("lucidatypewriter" . "iso8859-2")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-3 '("lucidatypewriter" . "iso8859-3")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-4 '("lucidatypewriter" . "iso8859-4")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'cyrillic-iso8859-5 '("lucidatypewriter" . "iso8859-5")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'hebrew-iso8859-8 '("lucidatypewriter" . "iso8859-8")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-9 '("lucidatypewriter" . "iso8859-9")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-14 '("lucidatypewriter" . "iso8859-14")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'latin-iso8859-15 '("lucidatypewriter" . "iso8859-15")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'thai-tis620 '("lucidatypewriter" . "iso10646-1")) ; (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'georgian-ps '("bpg glaho arial" . "iso10646-1")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule-unicode-0100-24ff '("code2000" . "iso10646-1")) (set- fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule- unicode-2500-33ff '("code2000" . "iso10646-1")) (set-fontset-font "fontset-10pt_lucida_sans_typewriter" 'mule-unicode-e000-ffff '("code2000" . "iso10646-1"))

You see that I am using (most probably) X11. But I can be wrong here. Trying to use libfontconfig seems to fail, most probably because on my old Mac OS X system the wrong libraries of libfontconfig are used (it's compilation issue I should solve in the next few years, or months).


Can you make tests with X11 and libfontconfig font names? Can you also make tests with using the above mentioned *-frame-alist's? (Initial is the first frame, default is every other new one.)

--
Greetings

  Pete

Make it simple, as simple as possible but no simpler.
                                – Albert Einstein







reply via email to

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