unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: fontset/font change
Date: Wed, 11 Mar 2009 23:36:04 +0900	[thread overview]
Message-ID: <87d4coazzf.fsf@catnip.gol.com> (raw)
In-Reply-To: 49B7C51E.6020507@gnu.org

Jason Rumney <jasonr@gnu.org> writes:
>>    (let ((fontset (frame-parameter nil 'font)))
>>      (unless (equal fontset "tty")
>>        (set-fontset-font fontset 'unicode "Droid Sans Fallback")))
...
>  (set-fontset-font t (make-char 'katakana-jisx0201)

Hmm, it seems that I can use `t' as the fontset-name to get the effect I
want; this doesn't seem to be mentioned in the docstring:

   (set-fontset-font t 'unicode "Droid Sans Fallback")

-Miles

-- 
Brain, n. An apparatus with which we think we think.





  reply	other threads:[~2009-03-11 14:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 13:50 fontset/font change Miles Bader
2009-03-11 14:05 ` Jason Rumney
2009-03-11 14:36   ` Miles Bader [this message]
2009-03-12  1:16   ` Kenichi Handa
2009-03-12 13:19     ` Jason Rumney
2009-03-13  5:18       ` Kenichi Handa
2009-03-12  0:57 ` Kenichi Handa
2009-03-12  1:05   ` Miles Bader
2009-03-12  2:53     ` Kenichi Handa
2009-03-12  4:01       ` Miles Bader
2009-03-12  4:10       ` Chong Yidong
2009-03-12  6:40         ` Kenichi Handa
2009-03-12 13:39           ` Chong Yidong
2009-03-13  5:10             ` Kenichi Handa

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=87d4coazzf.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --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).