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 malayalam glyphs in language/mlm-util.el Date: Fri, 14 Feb 2003 21:50:01 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200302132347.IAA10169@etlken.m17n.org> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045259604 22860 80.91.224.249 (14 Feb 2003 21:53:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2003 21:53:24 +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 18jnlp-0005wI-00 for ; Fri, 14 Feb 2003 22:53:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18jnyw-0006Oy-00 for ; Fri, 14 Feb 2003 23:06:55 +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 18jnm9-0006V3-08 for emacs-devel@quimby.gnus.org; Fri, 14 Feb 2003 16:53:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18jnkQ-0005k6-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 16:51:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18jnkC-0005WL-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 16:51:41 -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 18jnjb-0005HF-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 16:51:06 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Fri, 14 Feb 2003 21:50:01 +0000 (UTC) Original-To: Raja R Harinath In-reply-to: (message from Raja R Harinath on Fri, 14 Feb 2003 13:58:59 -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:11648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11648 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. You can use any font that has Malayalam, ... Such as...? please tell me a URL that I can download. 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.) Scrolling further, you should see that 'mlm-char-glyph' has empty boxes on the LHS of the table, but there must be proper glyphs on the RHS -- those RHS entries are from the "malayalam-cdac" fonts. Yes, that is the case: empty boxes on the left hand side and proper glyphs on the RHS Overall, the whole workflow of editing Unicode encoded Indic documents in Emacs is not very smooth yet. In this case, the bug seems to be a lack of the kind of documentation that I (and others like me) will notice, understand, and follow. In particular, the current bug is documentation on why, when, and how to install fonts. This is is not an Emacs question, but is more general. However, if Emacs lacks fonts, it breaks. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com