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: Sat, 15 Feb 2003 00:43:21 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200302132347.IAA10169@etlken.m17n.org> <200302141100.UAA11513@etlken.m17n.org> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045269951 7353 80.91.224.249 (15 Feb 2003 00:45:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Feb 2003 00:45:51 +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 18jqSi-0001uD-00 for ; Sat, 15 Feb 2003 01:45:48 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18jqft-00084x-00 for ; Sat, 15 Feb 2003 01:59:26 +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 18jqSq-00077K-04 for emacs-devel@quimby.gnus.org; Fri, 14 Feb 2003 19:45:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18jqRW-0006I6-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 19:44:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18jqRD-00062k-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 19:44:15 -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 18jqQT-0005nt-00 for emacs-devel@gnu.org; Fri, 14 Feb 2003 19:43:30 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Sat, 15 Feb 2003 00:43:21 +0000 (UTC) Original-To: Raja R Harinath In-reply-to: (message from Raja R Harinath on Fri, 14 Feb 2003 16:20:59 -0600) Original-cc: gnu@vsnl.net 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:11654 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11654 Success! Thank you! I can now see all the fonts in emacs/lisp/language/mlm-util.el You gave good instructions. I copied the fonts from savannah.nongnu.org Here is what I did. This should go into the documentation somewhere. Handa-san, please add this in the best place. Thank you. ----------------\ Here is an example of how Robert J. Chassell fetched and installed the fonts for malayalam, and Indic language. First, as user `root', execute these commands: cd /usr/X11R6/lib/X11/fonts/ mkdir malayalam cd malayalam wget -c http://savannah.nongnu.org/download/smc/free-mal-fonts.pkg/1.1/free-mal-fonts.tar.gz tar tvzf free-mal-fonts.tar.gz # see what you have tar xvzf free-mal-fonts.tar.gz # untar into a sub-directory chown -R root.root . chmod -R ugo+rw . cd /usr/X11R6/lib/X11/fonts/malayalam/free-mal-fonts Now, you must make sure there is a 'fonts.scale' in the malayalam/free-mal-fonts/ directory. Raja R Harinath writes: If there is no 'fonts.scale' file in that directory, create it with the following contents inside the ---8<--- lines. ---8<--- fonts.scale 1 malayalam.ttf -misc-malayalam-medium-r-normal--0-0-0-0-p-0-iso10646-1 ---8<--- [the following is not needed if copying the fonts from savannah.nongnu.org] If there's already a fonts.scale in that directory, add 1 to the number on top of that file, and append the "malayalam.ttf -misc-...-1" line to it. After creating the `fonts.scale' file, in /usr/X11R6/lib/X11/fonts/malayalam/free-mal-fonts/ execute these commands in that directory: mkfontdir xset fp+ `pwd` xset fp rehash Then, add the following to your ~/.emacs file; you can be a non-root user: (set-fontset-font (query-fontset (frame-parameter nil 'font)) (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1")) Now as a non-root user, you can visit emacs/lisp/language/mlm-util.el in GNU Emacs and see all the fonts. ----------------/ -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com