unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fontset problem
@ 2002-09-03 13:44 Andreas Schwab
  2002-09-06 13:01 ` Kenichi Handa
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Schwab @ 2002-09-03 13:44 UTC (permalink / raw)


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, schwab@suse.de
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."

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-09-27  1:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 13:44 Fontset problem Andreas Schwab
2002-09-06 13:01 ` Kenichi Handa
2002-09-06 13:43   ` Andreas Schwab
2002-09-26  8:10     ` Kenichi Handa
2002-09-26 13:35       ` Andreas Schwab
2002-09-26 14:06       ` Stefan Monnier
2002-09-26 14:20         ` Andreas Schwab
2002-09-26 14:32           ` Stefan Monnier
2002-09-26 14:39             ` Andreas Schwab
2002-09-26 14:40               ` Stefan Monnier
2002-09-26 14:42                 ` Andreas Schwab
2002-09-26 14:48                   ` Stefan Monnier
2002-09-27  1:46                     ` Kenichi Handa

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).