[Top][All Lists]

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

Re: no font shown with tamil.el

From: Robert J. Chassell
Subject: Re: no font shown with tamil.el
Date: Thu, 13 Feb 2003 02:27:02 +0000 (UTC)

Handa-san's suggestion, involving the `mkfontdir' command, worked so I
have not tried yours.  (I have appended yours to remind people which
it is.)

Which suggestion would be better in the long run?  

I do not understand fonts or fontsets to make a choice.

Indeed, I do not know the default fontset for my regular instance of

The Info chapters, (emacs)Fontsets, do not help me since they assume I
understand more than I do.  I don't even know what questions to ask.

For example, I start my regular Emacs under GDB with the command:

    run -q -l ~bob/.emacs-21 -bg darkblue -fg white \
        -fn '-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1' \
        -geometry 80x52+120+45 \
        -name 'GNU Emacs 21'

The `frame-parameters' function tells me    (font . "10x20"))
No `fontset-startup' or `fontset-default'.  Evidentally, the `-fn'
argument does not define one.  Moreover

    (query-fontset (frame-parameter nil 'font))

returns nil in my regular Emacs.  Am I right in thinking I have no
default or startup fontset?

(On the other land, in a plain vanilla Emacs, started under GDB with
the command:

    run -q --no-site-file --eval '(blink-cursor-mode 0)'

the `query-fontset' expression returns
"-etl-*-medium-r-normal-*-16-*-*-*-*-*-fontset-16".  Does this mean
that its default fontset is "fontset-16"?)

Here is what you wrote.  Am I right in thinking that since I do not
use `Emacs.Font: fontset-courier' and do not want it, I do not need
the following?  Is there any reason to put the Emacs Lisp expression
into my .emacs file?

Your suggestion:

   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"))

            (lambda (lsym)
              (set-fontset-font current-fontset
                                (cons (indian-glyph-char 0 lsym)
                                      (indian-glyph-char 255 lsym))
                                (cons "*" (concat (symbol-name lsym) "-cdac"))))

   and I have the following in my .Xdefaults:


     Emacs.Font: fontset-courier

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


    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             address@hidden

reply via email to

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