emacs-devel
[Top][All Lists]
Advanced

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

Re: `set-fontset-font' and ascii characters


From: Oliver Scholz
Subject: Re: `set-fontset-font' and ascii characters
Date: Tue, 06 May 2003 15:48:02 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (windows-nt)

Kenichi Handa <address@hidden> writes:
[...]
> Oops.  Currently, a fontset should have a font name
> (i.e. string, not cons of (FAMILY . REGISTRY)) for ascii.
> So, if (FAMILY . REGISTRY) is specified, it mast be
> transformed to "-FAMILY-*-REGISTRY".  If FAMILY doesn't
> contain '-', "*-" must be prepended to FAMILY in advance.
> If REGISTRY doesn't contain '-', "-*" must be appended to
> REGISTRY in advance.
[...]
> These are the dirty parts originating in a bad interaction
> between face and fontset.  Clearing them out is in my todo
> list for a long time, but I've never had time to work on it.
[...]

If that is going to be reworked (I'd like to help if I can and if you
want), then maybe it is sufficient to put a fence around the problem
for now? I.e. raise an error for (set-fontset-font FONTSET 'ascii
CONS-CELL). That's what I do now in my version of fontset.c. For the
purpose of making fontsets customizable it is sufficient--I think--if
I can set the ASCII font with (set-fontset-font FONTSET 'ascii
FONTNAME).

If that's o.k., then I'll send a new patch together with my stuff for
customize, as soon as it is finished.

    Oliver
-- 
Oliver Scholz               16 Floréal an 211 de la Révolution
Taunusstr. 25               Liberté, Egalité, Fraternité!
60329 Frankfurt a. M.       http://www.jungdemokratenhessen.de
Tel. (069) 97 40 99 42      http://www.jdjl.org





reply via email to

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