emacs-devel
[Top][All Lists]
Advanced

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

Fontset problem


From: Andreas Schwab
Subject: Fontset problem
Date: Tue, 03 Sep 2002 15:44:49 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (ia64-suse-linux)

I'd like to define a fontset that uses courier as the main font, but
substitutes fixed for the three mule-unicode coding systems (because they
are much more complete).  Thus I defined the following fontset:

Emacs.Fontset-0: -*-courier-medium-r-normal--*-140-*-*-*-*-fontset-startup,\
                 
mule-unicode-2500-33ff:-*-fixed-medium-r-normal--*-140-*-*-*-*-iso10646-1,\
                 
mule-unicode-e000-ffff:-*-fixed-medium-r-normal--*-140-*-*-*-*-iso10646-1,\
                 
mule-unicode-0100-24ff:-*-fixed-medium-r-normal--*-140-*-*-*-*-iso10646-1

The problem is that characters in the mule-unicode coding systems are
always using medium-r-normal style, even if they are supposed to be, say,
bold.  On the other hand, if I define the fontset in this way:

Emacs.Fontset-0: -*-courier-medium-r-normal--*-140-*-*-*-*-fontset-startup,\
                 
mule-unicode-2500-33ff:-*-fixed-*-*-*--*-140-*-*-*-*-iso10646-1,\
                 
mule-unicode-e000-ffff:-*-fixed-*-*-*--*-140-*-*-*-*-iso10646-1,\
                 mule-unicode-0100-24ff:-*-fixed-*-*-*--*-140-*-*-*-*-iso10646-1

Emacs uses the first font that matches
-*-fixed-*-*-*--*-140-*-*-*-*-iso10646-1, which may not be the
medium-r-normal style.  What is the right way to define the fontset so
that Emacs uses the right style?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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