all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: monnier+gnu/emacs@rum.cs.yale.edu
Subject: Re: No malayalam glyphs in language/mlm-util.el
Date: Mon, 24 Feb 2003 10:46:57 +0900 (JST)	[thread overview]
Message-ID: <200302240146.KAA25144@etlken.m17n.org> (raw)
In-Reply-To: <87smugyh08.fsf@vsnl.net> (gnu@vsnl.net)

In article <87smugyh08.fsf@vsnl.net>, gnu@vsnl.net (Ramakrishnan M) writes:
> Ah.. I finally could see malayalam. Thanks to all of you
> who helped me get this working. I did the following in
> ~/.emacs

> (if (eq 'x window-system)
>     (let ((fontset (query-fontset (frame-parameter nil 'font))))
>       (when (not fontset)
> 	(setq fontset "fontset-default")
> 	(set-default-font fontset))
>       (set-fontset-font fontset
> 			(cons (decode-char 'ucs #x0D00)
> 			      (decode-char 'ucs #x0D7f))
> 			(cons "misc-malayalam" "iso10646-1"))))

I think you can simply do this:

(if (featurep 'fontset)
    (set-fontset-font "fontset-default"
		      (cons (decode-char 'ucs #x0D00)
			    (decode-char 'ucs #x0D7f))
		      (cons "misc-malayalam" "iso10646-1")))

> Now, my question is, can the whole thing be automated such
> that when I just add a font to the system, it gets automatically
> added to the fontset-default ? 

There are fonts that have malayalam glyphs other than
"misc-malayalam", e.g. the font distribute here.
	http://openlab.jp/efont/dist/unicode-bdf/
They don't have "misc-malayalam" name but can be used in
Emacs as well.

So, even if Emacs finds "misc-malayalam" font, it doesn't
mean a user want to use it.

The problem of "iso10646-1" fonts is that, inspite of that
registy name, they don't contain the whole glyphs for
iso10646.  To select a proper font for for a specific
character automatically, Emacs has to check contents of each
font.  The current Emacs doesn't have this facility.  As I
implemented it for emacs-unicode, I'd like to ask people to
wait for emacs-unicode.

---
Ken'ichi HANDA
handa@m17n.org

  parent reply	other threads:[~2003-02-24  1:46 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11 18:01 no font shown with tamil.el Robert J. Chassell
2003-02-12  0:34 ` Kenichi Handa
2003-02-12  1:09   ` Robert J. Chassell
2003-02-12  8:33     ` Jason Rumney
2003-02-12 18:17       ` Robert J. Chassell
2003-02-12 19:51         ` Jason Rumney
2003-02-12 20:31           ` Robert J. Chassell
2003-02-12 23:07         ` Raja R Harinath
2003-02-13  2:27           ` Robert J. Chassell
2003-02-13 22:50             ` Raja R Harinath
2003-02-13  0:36         ` Kenichi Handa
2003-02-13  1:44           ` Robert J. Chassell
2003-02-13  2:16             ` Kenichi Handa
2003-02-13  2:54               ` Robert J. Chassell
2003-02-12 20:33   ` Richard Stallman
2003-02-13  0:13     ` Kenichi Handa
2003-02-13 19:27       ` Richard Stallman
2003-02-13 23:11         ` Raja R Harinath
2003-02-13 23:47         ` Kenichi Handa
2003-02-14 11:00           ` Kenichi Handa
2003-02-14 14:35             ` No malayalam glyphs in language/mlm-util.el Robert J. Chassell
2003-02-14 19:58               ` Raja R Harinath
2003-02-14 21:50                 ` Robert J. Chassell
2003-02-14 22:20                   ` Raja R Harinath
2003-02-15  0:43                     ` Robert J. Chassell
2003-02-15  3:16                       ` Ramakrishnan M
2003-02-15  3:34                       ` Ramakrishnan M
2003-02-15 15:40                       ` Robert J. Chassell
2003-02-15 16:00                         ` Ramakrishnan M
2003-02-15 17:54                           ` Benjamin Riefenstahl
2003-02-15 18:29                             ` Raja R Harinath
2003-02-16  5:27                             ` Ramakrishnan M
2003-02-17  6:26                               ` Kenichi Handa
2003-02-17 14:41                                 ` Stefan Monnier
2003-02-18 11:51                                   ` Kenichi Handa
2003-02-19  6:16                                     ` Kenichi Handa
     [not found]                                     ` <87smugyh08.fsf@vsnl.net>
2003-02-24  1:46                                       ` Kenichi Handa [this message]
2003-02-20 11:09                             ` Kenichi Handa
2003-02-20 12:26                               ` Juanma Barranquero
2003-02-20 12:50                                 ` Kenichi Handa
2003-02-21 21:43                               ` Richard Stallman
     [not found]                           ` <1045400184.16187.694.camel@uma>
     [not found]                             ` <1045406040.597.28.camel@debian>
2003-02-17 20:36                               ` Richard Stallman
2003-02-17 23:43                                 ` Kenichi Handa
2003-02-14 11:15           ` no font shown with tamil.el Richard Stallman
2003-02-14 10:59         ` 川幡 太一
2003-02-15  7:44           ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2003-02-22 11:22 No malayalam glyphs in language/mlm-util.el Ramakrishnan M

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

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

  git send-email \
    --in-reply-to=200302240146.KAA25144@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=monnier+gnu/emacs@rum.cs.yale.edu \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.