unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: `set-fontset-font' and ascii characters
Date: Tue, 06 May 2003 15:48:02 +0200	[thread overview]
Message-ID: <u1xzctcdp.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: <200305050833.RAA20149@etlken.m17n.org> (Kenichi Handa's message of "Mon, 5 May 2003 17:33:37 +0900 (JST)")

Kenichi Handa <handa@m17n.org> 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	other threads:[~2003-05-06 13:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27 10:22 `set-fontset-font' and ascii characters Oliver Scholz
2003-05-01  8:10 ` Kenichi Handa
2003-05-01 17:48   ` Oliver Scholz
2003-05-01 20:01     ` Oliver Scholz
2003-05-01 23:53       ` Kenichi Handa
2003-05-02  0:06         ` Kenichi Handa
2003-05-02  0:39         ` Oliver Scholz
2003-05-02  1:05           ` Kenichi Handa
2003-05-02 23:16             ` Oliver Scholz
2003-05-03  2:48               ` Kenichi Handa
2003-05-03 22:24                 ` Oliver Scholz
2003-05-05  8:33                   ` Kenichi Handa
2003-05-06 13:48                     ` Oliver Scholz [this message]
2003-05-07  1:12                       ` Kenichi Handa
2003-05-25 12:17                         ` Oliver Scholz
2003-06-10  2:16                           ` Kenichi Handa
2003-06-10  2:47                             ` Stefan Monnier
2003-05-02  7:06   ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u1xzctcdp.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    --cc=emacs-devel@gnu.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 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).