From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: no font shown with tamil.el Date: Thu, 13 Feb 2003 02:27:02 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045103176 30114 80.91.224.249 (13 Feb 2003 02:26:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 02:26:16 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18j94j-0007pK-00 for ; Thu, 13 Feb 2003 03:26:09 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18j9Gy-0006ra-00 for ; Thu, 13 Feb 2003 03:38:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j95z-0008Ls-04 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 21:27:27 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j95i-0008KD-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:27:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j95g-0008If-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:27:09 -0500 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j95f-0008IW-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:27:08 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Thu, 13 Feb 2003 02:27:02 +0000 (UTC) Original-To: Raja R Harinath In-reply-to: (message from Raja R Harinath on Wed, 12 Feb 2003 17:07:41 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11613 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 Emacs. 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")) (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. Thanks! -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com