[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fontset problem
From: |
Kenichi Handa |
Subject: |
Re: Fontset problem |
Date: |
Fri, 6 Sep 2002 22:01:28 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Andreas Schwab <address@hidden> writes:
> 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?
If you specify an XLFD field other than FOUNDRY, FAMILY,
CHARSET_REGISTRY, CHARSET_ENCODING in each font name, Emacs
tries to use the specified font name as is (i.e. the same
font X server will find from that name). In your case, you
specify ADSTYLE as NULL and POINT_SIZE as 140. If you put
`*' in those fields, Emacs's normal font selection mechanism
should work also for those charsets.
So, please try this:
Emacs.Fontset-0: -*-courier-medium-r-normal--*-140-*-*-*-*-fontset-startup,\
mule-unicode-2500-33ff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,\
mule-unicode-e000-ffff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,\
mule-unicode-0100-24ff:-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1
---
Ken'ichi HANDA
address@hidden
- Fontset problem, Andreas Schwab, 2002/09/03
- Re: Fontset problem,
Kenichi Handa <=
- Re: Fontset problem, Andreas Schwab, 2002/09/06
- Re: Fontset problem, Kenichi Handa, 2002/09/26
- Re: Fontset problem, Andreas Schwab, 2002/09/26
- Re: Fontset problem, Stefan Monnier, 2002/09/26
- Re: Fontset problem, Andreas Schwab, 2002/09/26
- Re: Fontset problem, Stefan Monnier, 2002/09/26
- Re: Fontset problem, Andreas Schwab, 2002/09/26
- Re: Fontset problem, Stefan Monnier, 2002/09/26
- Re: Fontset problem, Andreas Schwab, 2002/09/26
- Re: Fontset problem, Stefan Monnier, 2002/09/26