From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org
Subject: Re: no font shown with tamil.el
Date: Thu, 13 Feb 2003 02:27:02 +0000 (UTC) [thread overview]
Message-ID: <m18j95a-000IeAC@localhost> (raw)
In-Reply-To: <d94r793xoi.fsf@bose.cs.umn.edu> (message from Raja R Harinath on Wed, 12 Feb 2003 17:07:41 -0600)
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
next prev parent reply other threads:[~2003-02-13 2:27 UTC|newest]
Thread overview: 46+ 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 [this message]
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
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m18j95a-000IeAC@localhost \
--to=bob@rattlesnake.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).