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: Thu, 13 Feb 2003 11:16:48 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200302130216.LAA08528@etlken.m17n.org> References: <200302130036.JAA08393@etlken.m17n.org> 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 1045102577 28375 80.91.224.249 (13 Feb 2003 02:16:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 02:16:17 +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 18j8v8-0007NL-00 for ; Thu, 13 Feb 2003 03:16:14 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18j97N-0006lM-00 for ; Thu, 13 Feb 2003 03:28: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 18j8wD-0001km-05 for emacs-devel@quimby.gnus.org; Wed, 12 Feb 2003 21:17:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18j8vt-0001ed-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:17:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18j8vr-0001aM-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:17:00 -0500 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18j8vr-0001Wa-00 for emacs-devel@gnu.org; Wed, 12 Feb 2003 21:16:59 -0500 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2])h1D2Gmk15210; Thu, 13 Feb 2003 11:16:48 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) h1D2GmR20137; Thu, 13 Feb 2003 11:16:48 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id LAA08528; Thu, 13 Feb 2003 11:16:48 +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:11612 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11612 In article , "Robert J. Chassell" writes: > Thank you! Success! That's good! > At least success in showing Hindi and Tamil fonts in the > HELLO buffer after running the `mkfontdir' command, > followed again by the `xset' commands. (I have revised my > `example' text and appended it below.) Thank you. I'll try to reflect that info in INSTALL. > However, I was not able to see any fonts glyphs with the `xfd' > command on the `cdac' font. This command: > xfd -fn -altsys-DV_TTSurekh-medium-r-normal--20-0-0-0-p-0-devanagari-cdac Ah, that is for the case that you use *.ttf directly with the support of TrueType fonts on X server side. > But I do see glyphs with the following command: > xfd -fn *-cdac > This shows me the glyphs for > TTDurga-Medium-R-Normal--22-160-100-100-P-74-Assamese-CDAC > However, the command > xfd -fn TTDurga-Medium-R-Normal--22-160-100-100-P-74-Assamese-CDAC > fails. The above font name is incomplete (I don't know how you get that name). Please use the font names returned by: xlsfonts -fn '*-cdac' Anyway, I'd like to ask you to try the other method too, i.e. using *.ttf directly. But, before doing that, please remove the directory of CDAC PCF fonts from your font path to avoid unnecessary confusion. This time, you don't need mkfontdir which is a command to generate fonts.dir from the directory contents. Instead, put these lines in fonts.dir by yourself in the directory of *.ttf, and "xset fp+ ...". --- cut here --------------------------------------------------------- 11 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 --- cut here --------------------------------------------------------- > (I moved my *.ttf and *.bdf files to the > /usr/X11R6/lib/X11/fonts/misc/ directory, along with the *.pcf files.) It's not a good idea to have *.ttf and *.pcf in the same directory. Please put *.ttf in its own directory (say, /usr/X11R6/lib/X11/fonts/cdac). --- Ken'ichi HANDA handa@m17n.org