From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: no font shown with tamil.el Date: Wed, 12 Feb 2003 09:34:55 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200302120034.JAA06339@etlken.m17n.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1045010089 1692 80.91.224.249 (12 Feb 2003 00:34:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Feb 2003 00:34:49 +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 18ikrQ-0000R8-00 for ; Wed, 12 Feb 2003 01:34: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 18il38-0000S5-00 for ; Wed, 12 Feb 2003 01:46:54 +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 18iksU-0003jO-00 for emacs-devel@quimby.gnus.org; Tue, 11 Feb 2003 19:35:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ikrt-0003fq-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:35:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ikrq-0003ag-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:35:15 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ikrp-0003XC-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 19:35:13 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h1C0Yuk28578; Wed, 12 Feb 2003 09:34:56 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h1C0YtR12072; Wed, 12 Feb 2003 09:34:55 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id JAA06339; Wed, 12 Feb 2003 09:34:55 +0900 (JST) Original-To: bob@rattlesnake.com In-reply-to: (bob@rattlesnake.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:11574 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11574 In article , "Robert J. Chassell" writes: > The HELLO buffer no longer shows Hindi and does not show Tamil fonts. Please see the section "* Extra fonts" of INSTALL. It has this information. ---------------------------------------------------------------------- The new Indian implementation uses the ISFOC standard fonts. We use CDAC ISFOC fonts to display the Devanagari script in Emacs. They are copyrighted, but we received permission to use them in Emacs from the font developers. These fonts can be obtained from the internet, or may be found in C-DAC products (including downloadable ones). For examle, you can search the CDAC Devanagari font `dvsr0ntt.ttf' by using some search engines and they will guide you to appropriate URLs to obtain them. After you've downloaded the fonts, then run the following Makefile to create the appropriate BDF/PCF fonts. (You will need `ttf2bdf', equipped with freetype 1, to create BDF file.) TTFS= asdr0ntt.ttf:Assamese\ bndr0ntt.ttf:Bengali\ dvsr0ntt.ttf:Devanagari\ gjav0ntt.ttf:Gujarati\ knum0ntt.ttf:Kannada\ mlkr0ntt.ttf:Malayalam\ orsr0ntt.ttf:Oriya\ pnam0ntt.ttf:Punjabi\ sdsr0ntt.ttf:Sanskrit\ tlhm0ntt.ttf:Telugu\ tmvl0ntt.ttf:Tamil all: for f in ${TTFS}; do \ ttf=`echo $$f | sed 's/:.*$$//'`; \ reg=`echo $$f | sed 's/[^:]*://'`; \ base=`basename $$ttf .ttf`; \ echo Converting "$$ttf to $$base-XX.bdf/pcf with registry $$reg"; \ for i in 16 24; do \ ttf2bdf -p $${i} -r 100 -l 0_255 $$ttf > temp; \ sed "/^FONT /s/ISO10646-1/$$reg-CDAC/" $$base-$$i.bdf; \ bdftopcf $$base-$$i.bdf > $$base-$$i.pcf; \ done; \ done rm -f temp clean: rm -f *.pcf *.bdf ---------------------------------------------------------------------- If your X server supports TrueType fonts directly (e.g. XFree86 4.0 and the later), instead of making pcf fonts, you can directly put *.ttf in your fontpath for TrueType fonts, add these lines in fonts.dir, tmvl0ntt.ttf -altsys-TM_TTValluvar-medium-r-normal--0-0-0-0-p-0-tamil-cdac tlhm0ntt.ttf -altsys-TL_TTHemalatha-medium-r-normal--0-0-0-0-p-0-telugu-cdac sdsr0ntt.ttf -altsys-SD_TTSurekh-medium-r-normal--0-0-0-0-p-0-sanskrit-cdac pnam0ntt.ttf -altsys-PN_TTAmar-medium-r-normal--0-0-0-0-p-0-punjabi-cdac orsr0ntt.ttf -altsys-OR_TTSarala-medium-r-normal--0-0-0-0-p-0-oriya-cdac mlkr0ntt.ttf -altsys-ML_TTKarthika-medium-r-normal--0-0-0-0-p-0-malayalam-cdac knum0ntt.ttf -altsys-KN_TTUma-medium-r-normal--0-0-0-0-p-0-kannada-cdac gjav0ntt.ttf -altsys-GJ_TTAvantika-medium-r-normal--0-0-0-0-p-0-gujarati-cdac dvsr0ntt.ttf -altsys-DV_TTSurekh-medium-r-normal--0-0-0-0-p-0-devanagari-cdac bndr0ntt.ttf -altsys-BN_TTDurga-medium-r-normal--0-0-0-0-p-0-bengali-cdac asdr0ntt.ttf -altsys-AS_TTDurga-medium-r-normal--0-0-0-0-p-0-assamese-cdac then run "% xset fp rehash". --- Ken'ichi HANDA handa@m17n.org