From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Raja R Harinath Newsgroups: gmane.emacs.devel Subject: Re: No malayalam glyphs in language/mlm-util.el Date: Fri, 14 Feb 2003 13:58:59 -0600 Organization: Dept. of Computer Science, Univ. of Minnesota Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200302132347.IAA10169@etlken.m17n.org> <200302141100.UAA11513@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045252653 19308 80.91.224.249 (14 Feb 2003 19:57:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2003 19:57:33 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jlxk-00051I-00 for ; Fri, 14 Feb 2003 20:57:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18jmAp-0005Jr-00 for ; Fri, 14 Feb 2003 21:11:03 +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 18jlza-0004qh-01 for emacs-devel@quimby.gnus.org; Fri, 14 Feb 2003 14:59:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18jlzH-0004qP-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 14:59:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18jlzG-0004qE-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 14:59:06 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jlzF-0004q8-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 14:59:05 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18jlx0-0004x9-00 for ; Fri, 14 Feb 2003 20:56:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18jlwy-0004ws-00 for ; Fri, 14 Feb 2003 20:56:44 +0100 Original-Lines: 45 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 Cancel-Lock: sha1:xrajnot19cs3oCqIAsRxMY1Mxug= 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:11645 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11645 Hi, "Robert J. Chassell" writes: > 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)' > > The HELLO file now displays all its glyphs OK, including Hindi and > Tamil; but I see empty boxes when I visit > > emacs/lisp/language/mlm-util.el > > This file provides support for composing malayalam characters, which > are Indian. 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")) You can use any font that has Malayalam, and has it at the _right_ unicode code points, not some arbitrary encoding. (Maybe emacs can handle fonts with ISCII charset tables there. I don't know.) The ISFOC TTF fonts that you already have don't appear to have the right Unicode charset table (not surprising, since that appears to be the whole point of ISFOC). 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. Overall, the whole workflow of editing Unicode encoded Indic documents in Emacs is not very smooth yet. HTH, - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu