all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Nicolas <nikos@altern.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Using Emacs 22 Courier font in Emacs 23?
Date: Sat, 15 Aug 2009 19:39:12 +0200	[thread overview]
Message-ID: <1568AE9D-2711-4A46-9E3E-A70BA3B91786@Web.DE> (raw)
In-Reply-To: <4a86c144$0$1530$426a34cc@news.free.fr>


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	other threads:[~2009-08-15 17:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-14 19:12 Using Emacs 22 Courier font in Emacs 23? Nicolas
2009-08-15  8:53 ` Peter Dyballa
     [not found] ` <mailman.4617.1250326430.2239.help-gnu-emacs@gnu.org>
2009-08-15 14:08   ` Nicolas
2009-08-15 17:39     ` Peter Dyballa [this message]
     [not found]     ` <mailman.4637.1250357969.2239.help-gnu-emacs@gnu.org>
2009-08-16  8:58       ` Nicolas
2009-08-16  9:57         ` Peter Dyballa
     [not found]         ` <mailman.4716.1250416669.2239.help-gnu-emacs@gnu.org>
2009-08-16 10:45           ` Nicolas
2009-08-16 12:44             ` Peter Dyballa
     [not found]             ` <mailman.4722.1250426668.2239.help-gnu-emacs@gnu.org>
2009-08-16 13:55               ` Nicolas
2009-08-16 15:29                 ` Peter Dyballa
2009-08-15 14:15 ` Joost Kremers
2009-08-15 14:27   ` Nicolas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568AE9D-2711-4A46-9E3E-A70BA3B91786@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nikos@altern.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.