all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raja R Harinath <harinath@cs.umn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: No malayalam glyphs in language/mlm-util.el
Date: Fri, 14 Feb 2003 16:20:59 -0600	[thread overview]
Message-ID: <d9smuqld10.fsf@bose.cs.umn.edu> (raw)
In-Reply-To: <m18jnib-000IeIC@localhost> ("Robert J. Chassell"'s message of "Fri, 14 Feb 2003 21:50:01 +0000 (UTC)")

"Robert J. Chassell" <bob@rattlesnake.com> writes:

> Still no success.
>
> Still using, today's CVS snapshot, Fri, 2003 Feb 14 13:31 UTC GNU
> Emacs 21.3.50.146 (i686-pc-linux-gnu, X toolkit) started with
>
>      /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)'
>
>    > ...I see empty boxes when I visit
>    >
>    >     emacs/lisp/language/mlm-util.el
>
>    AFAI can make out, the variables 'malayalam-consonant' and the regexp
>    in 'malayalam-composable-pattern' use Unicode.  You need an Unicode
>    font that has glyphs in that range.  If your default font doesn't
>    have the correct stuff, you'll need in your .emacs
>
>      (set-fontset-font (query-fontset (frame-parameter nil 'font))
>          (cons (decode-char 'ucs ?\x0D00) (decode-char 'ucs ?\x0D7f))
>          (cons "monotype-arial unicode ms" "iso10646-1"))
>
> I just started a fresh Emacs, evaluated that expression in it, and visited
> emacs/lisp/language/mlm-util.el
>
> No success.  Same problem as before: empty boxes.

It wasn't clear my previous mail: but the second cons refers to the
font name.  I used as an example the font "Arial Unicode MS": a TTF
font that came with Microsoft Office 2000.  Sorry about using an
non-free font as an example.

>    You can use any font that has Malayalam, ...
>
> Such as...?    please tell me a URL that I can download.

Try

  http://malayalamlinux.sourceforge.net/input-methods/
  http://malayalamlinux.sourceforge.net/input-methods/malayalam.ttf

(That site had no indication about the freedom of usage of the font.
So, the situation is not really much better.)

> After downloading and unpacking into directory foobar/, 
> I presume I then do:
>
>     mkfontdir
>     xset fp+ /usr/X11R6/lib/X11/fonts/foobar/
>     xset fp rehash
>
> Is that right?
>
> (If that is right and you tell me a URL and it all works, I will
> write up a short example of what to do.)

If there is no 'fonts.scale' file in that directory, create it with
the following contents inside the ---8<--- lines.

---8<--- fonts.scale
1
malayalam.ttf -misc-malayalam-medium-r-normal--0-0-0-0-p-0-iso10646-1
---8<---

If there's already a fonts.scale in that directory, add 1 to the
number on top of that file, and append the "malayalam.ttf -misc-...-1"
line to it.

Then run in that directory

  $ mkfontdir
  $ xset fp+ `pwd`
  $ xset fp rehash

Then, add the following to your .emacs:

      (set-fontset-font (query-fontset (frame-parameter nil 'font))
          (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f))
          (cons "misc-malayalam" "iso10646-1"))

HTH
- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu

  reply	other threads:[~2003-02-14 22:20 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 [this message]
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
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=d9smuqld10.fsf@bose.cs.umn.edu \
    --to=harinath@cs.umn.edu \
    --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 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.