emacs-devel
[Top][All Lists]
Advanced

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

Re: no font shown with tamil.el


From: Raja R Harinath
Subject: Re: no font shown with tamil.el
Date: Wed, 12 Feb 2003 17:07:41 -0600
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50

Hi,

"Robert J. Chassell" <address@hidden> writes:

> Then he used the `xset' command to install the fonts
>
>      xset fp+ /usr/X11R6/lib/X11/fonts/misc/
>      xset fp rehash
>
> ----------------/
>
> ==> But GNU Emacs 21 still did not show the Hindi and Tamil fonts,
> using today's GNU Emacs CVS snapshot and today's Debian `testing'
> distribution of GNU/Linux.  (I also rebooted the laptop, but that did
> no good either.)
>
> What should I do?

I have the following in my .emacs

    (let ((current-fontset (query-fontset (frame-parameter nil 'font))))
      (when current-fontset
        (load-library "quail/indian")

        (set-fontset-font current-fontset
                          (cons (decode-char 'ucs ?\x0900) 
                                (decode-char 'ucs ?\x097f))
                          (cons "*" "iso10646.indian-1"))
        
        (mapc
         (lambda (lsym)
           (set-fontset-font current-fontset
                             (cons (indian-glyph-char 0 lsym)
                                   (indian-glyph-char 255 lsym))
                             (cons "*" (concat (symbol-name lsym) "-cdac"))))
         indian-script-table)))

and I have the following in my .Xdefaults:

  Emacs.Fontset-0: 
-adobe-courier-medium-r-normal-*-14-*-*-*-m-*-fontset-courier,\
          mule-unicode-0100-24ff:-gnu-unifont-*-*-*-*-*-*-*-*-*-*-iso10646-1,\
          mule-unicode-2500-33ff:-gnu-unifont-*-*-*-*-*-*-*-*-*-*-iso10646-1,\
          mule-unicode-e000-ffff:-gnu-unifont-*-*-*-*-*-*-*-*-*-*-iso10646-1

  Emacs.Font: fontset-courier

If you use 'fontset-default', then you probably don't need this.

HTH.
- Hari
-- 
Raja R Harinath ------------------------------ address@hidden





reply via email to

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