* Re: No malayalam glyphs in language/mlm-util.el @ 2003-02-22 11:22 Ramakrishnan M 0 siblings, 0 replies; 24+ messages in thread From: Ramakrishnan M @ 2003-02-22 11:22 UTC (permalink / raw) Ah.. I finally could see malayalam. Thanks to all of you who helped me get this working. I did the following in ~/.emacs (if (eq 'x window-system) (let ((fontset (query-fontset (frame-parameter nil 'font)))) (when (not fontset) (setq fontset "fontset-default") (set-default-font fontset)) (set-fontset-font fontset (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1")))) Now, my question is, can the whole thing be automated such that when I just add a font to the system, it gets automatically added to the fontset-default ? Thanks once again to everyone. I will now try to compose some malayalam text and see whether there are any problems with the way it renders malayalam. best regards -- Ramakrishnan M (http://www.hackGNU.org/) Use Free Software -- Help stamp out Software Hoarding! ^ permalink raw reply [flat|nested] 24+ messages in thread
* no font shown with tamil.el @ 2003-02-11 18:01 Robert J. Chassell 2003-02-12 20:33 ` Richard Stallman 0 siblings, 1 reply; 24+ messages in thread From: Robert J. Chassell @ 2003-02-11 18:01 UTC (permalink / raw) The HELLO buffer no longer shows Hindi and does not show Tamil fonts. Emacs shows empty boxes. An instance of GNU Emacs 20.7 shows Hindi fonts. Debian `testing' distribution, updated today. Today's CVS snapshot, Tue, 2003 Feb 11 17:29 UTC GNU Emacs 21.3.50.137 (i686-pc-linux-gnu, X toolkit) started with /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)' Following the instructions in the NEWS file: See the INSTALL file for information on installing extra libraries and fonts to take advantage of the new graphical features and extra charsets in this release. I looked for the intlfonts distribution, which can be obtained by FTP from ftp.gnu.org. However, I already have the latest intlfonts version, 1.2; and besides the NEWS file also says: ** Leim is now part of the Emacs distribution. You no longer need to download a separate tarball in order to build Emacs with Leim. Also, I tried commenting out the contents of tamil.el, and rebuilding with a `make bootstrap' command rather than a `make recompile' command, but that did not restore the fonts. On running `C-u C-x =' (what-cursor-position with a prefix arg) on the first of the Tamil characters in the HELLO buffer: Tamil (^[$,1<D<N<_<T<m^[(B) ^[$,1<U<C<5<m<5<N<m^[(B where the non-Latin characters in the above line are empty boxes, I see, where the non-Latin character after the colon on the first line below is also an empty box: character: ^[$,1<D^[(B (01217104, 335428, 0x51e44) charset: mule-unicode-0100-24ff (Unicode characters of the range U+0100..U+24FF.) code point: 60 68 syntax: w which means: word category: buffer code: 0x9C 0xF4 0xBC 0xC4 file code: ESC 24 2C 31 3C 44 (encoded by coding system iso-2022-7bit-unix) Unicode: 0BA4 font: -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO10646-1 Composed with the following character(s) `' to form `^[$,1<D^[(B' by the rule (?^[$,4*N^[(B). See the variable `reference-point-alist' for the meaning of the rule. There are text properties here: composition (11 1 [267598]) I tried various fonts and fontsets using the `mouse-set-font' (SHIFT-mouse-1) command; the empty boxes remained. Finally, I tried setting the coding system with the command set-buffer-file-coding-system (C-x RET f) both to utf-8 and to iso-2022-7bit; neither had any effect. In my /etc/X11/XF86Config-4, I have the following: Section "Files" # Uncommenting the "unix/:7100" line leads to wider default fonts FontPath "unix/:7100" # for xfs, but xfs-xtt is newer FontPath "unix/:7101" # for xfs-xtt -- load both # If the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "/usr/local/share/emacs/fonts/" FontPath "/usr/local/share/emacs/fonts/bdf" FontPath "/usr/local/src/intlfonts/European" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" EndSection What should I do? -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: no font shown with tamil.el @ 2003-02-12 20:33 ` Richard Stallman 2003-02-13 23:47 ` Kenichi Handa 0 siblings, 1 reply; 24+ messages in thread From: Richard Stallman @ 2003-02-12 20:33 UTC (permalink / raw) Cc: emacs-devel The new Indian implementation uses the ISFOC standard fonts. We use CDAC ISFOC fonts to display the Devanagari script in Emacs. They are copyrighted, Being copyrighted is not a problen--Emacs is also copyrighted. The issue is, is it released under a free software license? but we received permission to use them in Emacs from the font developers. Special permission to use something "in Emacs" or "with Emacs" is usually NOT sufficient. In order for us to use anything, we have to be able to distribute it under a free software license. Would you please show me the license of these fonts? I can check if it is a free software license. If these are not free, we cannot use them in Emacs or recommend them to Emacs users. Also, what is ISFOC? Is it in India? Can you tell me how to contact the people there? I am on the way to India now, and if these are not free, I may be able to convince them to make them free. We may have to convert the code in Emacs to work with whatever free fonts are available. How quickly can you do that? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: no font shown with tamil.el @ 2003-02-13 23:47 ` Kenichi Handa 2003-02-14 11:00 ` Kenichi Handa 0 siblings, 1 reply; 24+ messages in thread From: Kenichi Handa @ 2003-02-13 23:47 UTC (permalink / raw) Cc: emacs-devel In article <E18jP18-0000T1-00@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes: >> Would you please show me the license of these fonts? I can check if >> it is a free software license. If these are not free, we cannot use >> them in Emacs or recommend them to Emacs users. >> Also, what is ISFOC? Is it in India? Can you tell me how to contact >> the people there? I am on the way to India now, and if these are not >> free, I may be able to convince them to make them free. > Kawabata-san <batta@beige.ocn.ne.jp>, please explain about > these issues. > This is really the crucial information. If these licenses are free, > then we have no problem. There is no need to work on replacing them > if they are ok to use. > On the other hand, if these licenses are NOT free, and if ISFOC is in > India, and if I can meet with them while I am here, maybe I can do > some good. > I need the info ASAP, since I am travelling around India and we don't > know which city they are in. ISFOC is a kind of font encoding standard that the company CDAC proposed. The fonts themselves are created by CDAC. Kawabata-san told me that he got a permission to use their fonts with Emacs by E-mail. I don't remember the exact statement of the mail. This web page shows how to concact with CDAC people. http://www.cdacindia.com/html/contact/offices.asp Here's a copy of it. Their fonts contain this information. ISFOC-DEVANAGARI-SUREKH-NORMAL. Copyright (c) 1992-95, C-DAC, PUNE, INDIA. So, perhaps, their center is in Pune. Pune ---- Centre for Development of Advanced Computing, Pune University Campus, Ganesh Khind, Pune - 411 007 India. Phones: +91-20-569-4000/01/02/03 Fax: +91-20-569-4059 eMail How to reach C-DAC [MAP] Bangalore --------- Centre for Development of Advanced Computing, C-DAC Knowledge Park Opp. HAL Aeroengine Division No. 1, Old Madras Road Byappanahalli Bangalore - 560 038 India. Phones: +91-80-534-1215/534-1909/534-0816/524-4059/524-4136/524-1874 Fax: +91-80-524-7724 eMail How to reach C-DAC [MAP] New Delhi --------- Centre for Development of Advanced Computing, A-335, Shivalik Near Malviya Nagar, New Delhi - 110 017 India. Phones: +91-11-2668-1156/1209/1779/ 2654-8250 Fax: +91-11-2668-1156 eMail How to reach C-DAC [MAP] Chennai ------- Centre for Development of Advanced Computing, IV Floor, Senthil Towers A-1, First Avenue Ashok Nagar Chennai - 600 083 India. Phone: +91-44-371-9326/27 Fax: +91-44-371-9479 eMail How to reach C-DAC [MAP] Hyderabad --------- Centre for Development of Advanced Computing, 2nd Floor, Delta Chambers Ameerpet Hyderabad - 500 016 India. Phone: +91-40-2340-1331/332 Fax: +91- 40-2330-1531 eMail How to reach C-DAC [MAP] Thiruvananthapuram ------------------ Centre for Development of Advanced Computing, TC 11/1110, Pazhaya Road Murinjapalam, Medical College P.O., Thiruvananthapuram - 695 011 India. Phone: +91-471-554-681 Fax: +91-471-554-086 eMail How to reach C-DAC [MAP] Kolkata ------- Centre for Development of Advanced Computing, C/o- ER&DCI Plot- E-2/1 (Ground Floor) Sector - 5 Saltlake Electronics Complex Bidhannagar, Kolkata - 700 091 India. Phone: +91-33-357-7264 eMail How to reach C-DAC [MAP] --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: no font shown with tamil.el 2003-02-13 23:47 ` Kenichi Handa @ 2003-02-14 11:00 ` Kenichi Handa 2003-02-14 14:35 ` No malayalam glyphs in language/mlm-util.el Robert J. Chassell 0 siblings, 1 reply; 24+ messages in thread From: Kenichi Handa @ 2003-02-14 11:00 UTC (permalink / raw) Cc: emacs-devel In article <200302132347.IAA10169@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> writes: >> Kawabata-san <batta@beige.ocn.ne.jp>, please explain about >> these issues. I've got a personal mail from him. It seems that he is now extremely busy, and can't dug out the clear permission documentation. He at least found the attached mail. As the mail date is three year ago, the contacted person Mr. Anupam Saurabh may not be in CDAC now. --- Ken'ichi HANDA handa@m17n.org X-From-Line: anupamsaurabh@hotmail.com Thu Dec 16 18:51:28 1999 Return-Path: anupamsaurabh@hotmail.com Received: from exa.onlab.ntt.co.jp by femto.onlab.ntt.co.jp (8.8.8+Sun/3.5W11/12/96) id SAA27311; Thu, 16 Dec 1999 18:52:01 +0900 (JST) Received: by exa.onlab.ntt.co.jp (8.8.8/3.5Wpl509/09/98) id SAA24420; Thu, 16 Dec 1999 18:52:02 +0900 (JST) Received: from tama55.ecl.ntt.co.jp by nttmail3.ecl.ntt.co.jp (8.9.3+3.2W/3.7W/12/15/99) with ESMTP id SAA05796 for <kawabata@exa.onlab.ntt.co.jp>; Thu, 16 Dec 1999 18:52:02 +0900 (JST) (envelope-from anupamsaurabh@hotmail.com) Received: from hotmail.com (law-f290.hotmail.com [209.185.130.229]) by tama55.ecl.ntt.co.jp (8.9.3+3.2W/3.7W/09/14/99) with SMTP id SAA25396 for <kawabata@exa.onlab.ntt.co.jp>; Thu, 16 Dec 1999 18:52:00 +0900 (JST) (envelope-from anupamsaurabh@hotmail.com) Received: (qmail 86249 invoked by uid 0); 16 Dec 1999 09:51:28 -0000 Message-ID: <19991216095128.86248.qmail@hotmail.com> Received: from 196.1.109.11 by www.hotmail.com with HTTP; Thu, 16 Dec 1999 01:51:28 PST X-Originating-IP: [196.1.109.11] Reply-To: anupam@cdac.ernet.in From: "Anupam Saurabh" <anupamsaurabh@hotmail.com> To: kawabata@exa.onlab.ntt.co.jp Cc: anupam@cdac.ernet.in Subject: Re: Request for Using ISFOC fonts on UNIX... Date: Thu, 16 Dec 1999 01:51:28 PST Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-UIDL: 9949c03a105837e62fdc369b6d39d7ec Xref: benkei.onlab.ntt.co.jp mail.mule.indian:167 Lines: 65 Hello, You may go ahead and create fonts for use on Linux. Hope adding credits to CDAC in copyright strings or in applications would be possible. Also, would like to bring to your notice that a group in Hyderabad has also developed solution on Linux. I will inform them and interaction between the two may help. Regds Anupam >From: kawabata@exa.onlab.ntt.co.jp (KAWABATA, Taichi) >To: Anupam Saurabh <anupamsaurabh@hotmail.com> >Subject: Request for Using ISFOC fonts on UNIX... >Date: 08 Dec 1999 09:18:52 +0900 > >Dear sir, > >Thank you very much for your prompt reply. > >As I've read your page in >http://www.cdac.org.in/html/gist/multihom.htm, I recognize that it >would be difficult to modify the fonts you are distributing for use >with Unix. > >If possible, we would like to do the following to if you kindly >supports us to use the fonts for Linux. > > 1. Convert the TTF fonts to BDF using FreeType software. > > 2. Modify the bounding box of the fonts, since X Window system can > not handle zero-width fonts. > > 3. Introduce the "vertical center line" property into the BDF Font > property, so that modifier which attaches to the consonants > vertically such as matra "e" and preceding "r" can be property > attached just above the vertical line of the consonants even if > the consonants are "k" or "t". > > 4. Pre-compose several glyphs from the fonts and creates new fonts, > to create Unicode fonts. > >In Emacs version 21, the internal character codes and their apperance >glyphs can be completely separated. We are thinking to make the >internal represenatation of Indian text as Unicode and visual >representation of them ISFOC fonts. > >Cordially yours, > >-- >------------------------------------------- >KAWABATA, Taichi >NTT Network Innovation Laboratories >Tel. +81-468-59-8352 Fax. +81-468-55-1284 >------------------------------------------- > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com [3 <text/plain; US-ASCII (7bit)>] [4 237 <application/octet-stream (7bit)>] Return-Path: cdac.ernet.in!anupam@parcom.ernet.in Received: from exa.onlab.ntt.co.jp by femto.onlab.ntt.co.jp (SMI-8.6/3.5W11/12/96) id OAA03313; Thu, 26 Mar 1998 14:13:39 +0900 Received: by exa.onlab.ntt.co.jp (8.8.7/3.5Wpl503/24/98) id OAA18012; Thu, 26 Mar 1998 14:14:59 +0900 (JST) Received: from tama.tas.ntt.co.jp by nttmail.ecl.ntt.co.jp (8.8.8/3.6W/nttmail) with ESMTP id OAA29128 for <kawabata@exa.onlab.ntt.co.jp>; Thu, 26 Mar 1998 14:14:58 +0900 (JST) Received: from naveen.ncst.ernet.in (naveen.ncst.ernet.in [202.41.110.35]) by tama.tas.ntt.co.jp (8.8.8/3.6W/tama) with SMTP id OAA21667 for <kawabata@exa.onlab.ntt.co.jp>; Thu, 26 Mar 1998 14:15:49 +0900 (JST) Received: from iucaa (iucaa.ernet.in [202.141.155.1]) by naveen.ncst.ernet.in (8.6.12/8.6.6) with SMTP id KAA19758; Thu, 26 Mar 1998 10:46:46 +0530 Received: by iucaa (5.65v3.2/SMI-4.1) id AA16656; Thu, 26 Mar 1998 10:34:58 +0500 Received: by parcom.cdac.ernet.in (4.1/SMI-4.1) id AA08095; Thu Mar 26 09:57:24 1998 (GMT + 0530) Date: Thu, 26 Mar 1998 09:57:23 +0530 (IST) From: Anupam Saurabh <anupam@cdac.ernet.in> To: kawabata@exa.onlab.ntt.co.jp Cc: wrd@doe.ernet.in, sangal@anu.uohyd.ernet.in Subject: Re: Jap support In-Reply-To: <199803232123.CAA18460@anu.uohyd.ernet.in> Message-Id: <Pine.SUN.3.91.980324191502.8677B-100000@falcon> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-UIDL: fe2fea388e839534abf7dfea40c6b7a1 Hello, We have been told that you are an independent developer doing development for Indian scripts under EMACS. We understand that you require a Devanagari font for use under General Public License. We request you to provide your complete postal,Phone/Fax address for our reference. We suggest that you use the DV-SUREKH-Normal True-type font which you can download with LEAP-Lite from our Web-site, for this purpose. It would be our pleasure to see your contributions in this common area of interest. You'll be free to distribute your software alongwith our font for this free distribution under GPL. If you need any further assistance please do not hesistate to contact us. With best regards Anupam Saurabh --------------------------------------------------------------------------- Anupam Saurabh Email: anupam@cdac.ernet.in Group Co-ordinator GIST R&D, C-DAC Phone: +91-212-370034, 352461 Centre for Development of Advanced Computing URL : http://www.cdac.org.in Pune University Campus, Pune-411007, India Fax : +91-212-357551 * Download Free LEAP-Lite from our Web Site or sendmail to free@cdac.ernet.in On Tue, 24 Mar 1998, Rajeev Sangal wrote: > Anupam, > > I am sending the address of the Japanese devceloper immediately. > Shortly I will send my comments on your reply. > > > 6. But if some developer incorporates in a free software under GPL, CDAC has > > no objections. We would modify the conditions on Web site to suit this > > purpose ASAP. You may communicate accordingly to this Jap person. > > He has not yet written to me. Pls. give his address immly and oblige. > > His address is: > kawabata@exa.onlab.ntt.co.jp > He has provided support for Japanese under EMACS. The entire software > is under GPL. > > - Rajeev Sangal > --------------------------------------------------------------------------- Anupam Saurabh Email: anupam@cdac.ernet.in Group Co-ordinator GIST R&D, C-DAC Phone: +91-212-370034, 352461 Centre for Development of Advanced Computing URL : http://www.cdac.org.in Pune University Campus, Pune-411007, India Fax : +91-212-357551 * Download Free LEAP-Lite from our Web Site or sendmail to free@cdac.ernet.in ^ permalink raw reply [flat|nested] 24+ messages in thread
* No malayalam glyphs in language/mlm-util.el 2003-02-14 11:00 ` Kenichi Handa @ 2003-02-14 14:35 ` Robert J. Chassell 2003-02-14 19:58 ` Raja R Harinath 0 siblings, 1 reply; 24+ messages in thread From: Robert J. Chassell @ 2003-02-14 14:35 UTC (permalink / raw) Cc: rkrishnan 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. Ramakrishnan Muthukrishnan <rkrishnan@debian.org> told me about the problem. He, too, is using CVS. Ramakrishnan also says that running `C-u C-x =' (what-cursor-position with a prefix arg) on the boxes says that emacs is using some Adobe-*-*... font. although when I do the same I am told font: -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO10646-1 According to (shell-command "xlsfonts -fn '*-ISO10646-1'" nil nil) I have: -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso10646-1 which is the same as the font that `what-cursor-position' tells me is in mlm-util.el, except for being lower case. What should I do? -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-14 14:35 ` No malayalam glyphs in language/mlm-util.el Robert J. Chassell @ 2003-02-14 19:58 ` Raja R Harinath 2003-02-14 21:50 ` Robert J. Chassell 0 siblings, 1 reply; 24+ messages in thread From: Raja R Harinath @ 2003-02-14 19:58 UTC (permalink / raw) Hi, "Robert J. Chassell" <bob@rattlesnake.com> 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 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-14 19:58 ` Raja R Harinath @ 2003-02-14 21:50 ` Robert J. Chassell 2003-02-14 22:20 ` Raja R Harinath 0 siblings, 1 reply; 24+ messages in thread From: Robert J. Chassell @ 2003-02-14 21:50 UTC (permalink / raw) Cc: emacs-devel 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 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-14 21:50 ` Robert J. Chassell @ 2003-02-14 22:20 ` Raja R Harinath 2003-02-15 0:43 ` Robert J. Chassell 0 siblings, 1 reply; 24+ messages in thread From: Raja R Harinath @ 2003-02-14 22:20 UTC (permalink / raw) Cc: emacs-devel "Robert J. Chassell" <bob@rattlesnake.com> writes: > 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. It wasn't clear my previous mail: but the second cons refers to the font name. I used as an example the font "Arial Unicode MS": a TTF font that came with Microsoft Office 2000. Sorry about using an non-free font as an example. > You can use any font that has Malayalam, ... > > Such as...? please tell me a URL that I can download. Try http://malayalamlinux.sourceforge.net/input-methods/ http://malayalamlinux.sourceforge.net/input-methods/malayalam.ttf (That site had no indication about the freedom of usage of the font. So, the situation is not really much better.) > 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.) 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<--- 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. Then run in that directory $ mkfontdir $ xset fp+ `pwd` $ xset fp rehash Then, add the following to your .emacs: (set-fontset-font (query-fontset (frame-parameter nil 'font)) (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1")) HTH - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-14 22:20 ` Raja R Harinath @ 2003-02-15 0:43 ` Robert J. Chassell 2003-02-15 3:16 ` Ramakrishnan M ` (2 more replies) 0 siblings, 3 replies; 24+ messages in thread From: Robert J. Chassell @ 2003-02-15 0:43 UTC (permalink / raw) Cc: emacs-devel 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 <harinath@cs.umn.edu> 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 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 0:43 ` Robert J. Chassell @ 2003-02-15 3:16 ` Ramakrishnan M 2003-02-15 3:34 ` Ramakrishnan M 2003-02-15 15:40 ` Robert J. Chassell 2 siblings, 0 replies; 24+ messages in thread From: Ramakrishnan M @ 2003-02-15 3:16 UTC (permalink / raw) Cc: emacs-devel || On Sat, 15 Feb 2003 00:43:21 +0000 (UTC) || "Robert J. Chassell" <bob@rattlesnake.com> wrote: rjc> Success! rjc> Thank you! I can now see all the fonts in rjc> emacs/lisp/language/mlm-util.el rjc> You gave good instructions. I copied the fonts from savannah.nongnu.org Actually I have these fonts already in my system and had been using it with the emacs-unicode branch and it works properly there. I still don't see the unicode characters. I see the glyph to be displayed (as i have those CDAC fonts with me TTKarthika-*-*...) for the composition of unicode characters(I forgot to mention this before). But I still get -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO10646-1 when I do C-u C-x = on those boxes. -- Ramakrishnan M (http://www.hackGNU.org/) Use Free Software -- Help stamp out Software Hoarding! ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 0:43 ` Robert J. Chassell 2003-02-15 3:16 ` Ramakrishnan M @ 2003-02-15 3:34 ` Ramakrishnan M 2003-02-15 15:40 ` Robert J. Chassell 2 siblings, 0 replies; 24+ messages in thread From: Ramakrishnan M @ 2003-02-15 3:34 UTC (permalink / raw) Cc: emacs-devel rjc> (set-fontset-font (query-fontset (frame-parameter nil 'font)) rjc> (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) rjc> (cons "misc-malayalam" "iso10646-1")) I just found that (frame-parameter nil 'font) returns "Adobe...." and the (query-fontset ..) returns nil. Any ideas? -- Ramakrishnan M (http://www.hackGNU.org/) Use Free Software -- Help stamp out Software Hoarding! ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 0:43 ` Robert J. Chassell 2003-02-15 3:16 ` Ramakrishnan M 2003-02-15 3:34 ` Ramakrishnan M @ 2003-02-15 15:40 ` Robert J. Chassell 2003-02-15 16:00 ` Ramakrishnan M 2 siblings, 1 reply; 24+ messages in thread From: Robert J. Chassell @ 2003-02-15 15:40 UTC (permalink / raw) Cc: gnu Today's CVS snapshot, Sat, 2003 Feb 15 14:17 UTC GNU Emacs 21.3.50.149 (i686-pc-linux-gnu, X toolkit) Yesterday, I wrote: Thank you! I can now see all the fonts in emacs/lisp/language/mlm-util.el I spoke too soon! I can see the fonts when I manually evaluate, (set-fontset-font (query-fontset (frame-parameter nil 'font)) (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1")) but when I put that expression in my ~/.emacs file, start a new instance of Emacs, and then visit /usr/local/src/emacs/lisp/language/mlm-util.el I do not see the fonts; I see empty boxes. But if I manually evaluate the Emacs Lisp expression above while looking at the `mlm-util.el' in another buffer, the empty boxes change to proper glyphs. I am not certain what is going on, but it looks to me that the `set-fontset-font' function is modifying the first fontset, but that modification is not done during the loading of the ~/.emacs file. First, I tried putting the Emacs Lisp expression at the end of my ~/.emacs file, so it would be evaluated last, but that did not solve the problem. Then I wrote this hook and put it into my ~/.emacs file: (add-hook 'find-file-hook (function (lambda () (set-fontset-font (query-fontset (frame-parameter nil 'font)) (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1"))))) This succeeds. That is to say, with this hook, when I visit the `mlm-util.el' file, I see the proper glyphs. But the use of such a hook is an ugly way to solve the problem. What should I do? -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 15:40 ` Robert J. Chassell @ 2003-02-15 16:00 ` Ramakrishnan M 2003-02-15 17:54 ` Benjamin Riefenstahl [not found] ` <1045400184.16187.694.camel@uma> 0 siblings, 2 replies; 24+ messages in thread From: Ramakrishnan M @ 2003-02-15 16:00 UTC (permalink / raw) Cc: emacs-devel || On Sat, 15 Feb 2003 10:40:55 -0500 (EST) || "Robert J. Chassell" <bob@rattlesnake.com> wrote: rjc> I spoke too soon! I can see the fonts when I manually evaluate, rjc> (set-fontset-font (query-fontset (frame-parameter nil 'font)) rjc> (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) rjc> (cons "misc-malayalam" "iso10646-1")) It is worser here. When I evaluate this manual, I get the following in Backtrace buffer. Debugger entered--Lisp error: (wrong-type-argument stringp nil) set-fontset-font(nil (335904 . 336063) ("misc-malayalam" . "iso10646-1")) eval((set-fontset-font (query-fontset (frame-parameter nil ...)) (cons (decode-char ... 3328) (decode-char ... 3455)) (cons "misc-malayalam" "iso10646-1"))) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp) Also when I do M-x describe-fontset (default, used by the current frame) ENTER I get current frame is using a font, not a fontset Is this in anyway related? [BTW, I am not subscribed to emacs-devel, if anyone found a solution, please copy me. Thanks] -- Ramakrishnan M (http://www.hackGNU.org/) Use Free Software -- Help stamp out Software Hoarding! ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 16:00 ` Ramakrishnan M @ 2003-02-15 17:54 ` Benjamin Riefenstahl 2003-02-15 18:29 ` Raja R Harinath ` (2 more replies) [not found] ` <1045400184.16187.694.camel@uma> 1 sibling, 3 replies; 24+ messages in thread From: Benjamin Riefenstahl @ 2003-02-15 17:54 UTC (permalink / raw) Cc: emacs-devel Hi, gnu@vsnl.net (Ramakrishnan M) writes: > Also when I do M-x describe-fontset (default, used by the current > frame) ENTER I get > > current frame is using a font, not a fontset This appears for me also, if I start Emacs without any font configuration. When I set the font in my ~/.Xdefaults (as I usually do) I have a fontset, even with emacs -q. Even when I start emacs -q without an ~/.Xdefaults, I still have two fontsets defined (they are just not set), named "fontset-standard" and "fontset-default". And of these two "fontset-default" seems to be identical to the default font actually used in this situation. So you could probably do: (let ((fontset (query-fontset (frame-parameter nil 'font)))) (when (not fontset) (setq fontset "fontset-default") (set-default-font fontset)) (set-fontset-font fontset (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1"))) Hope this helps, benny ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 17:54 ` Benjamin Riefenstahl @ 2003-02-15 18:29 ` Raja R Harinath 2003-02-16 5:27 ` Ramakrishnan M 2003-02-20 11:09 ` Kenichi Handa 2 siblings, 0 replies; 24+ messages in thread From: Raja R Harinath @ 2003-02-15 18:29 UTC (permalink / raw) Hi, Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes: > (let ((fontset (query-fontset (frame-parameter nil 'font)))) > (when (not fontset) > (setq fontset "fontset-default") > (set-default-font fontset)) Or use the following (totally untested): (let* ((frame-font (frame-parameter nil 'font)) (current-fontset (query-fontset frame-font))) (unless current-fontset (setq current-fontset (create-fontset-from-ascii-font frame-font)) (set-default-font current-fontset)) ;; ... rest of code using current-fontset ) - Hari -- Raja R Harinath ------------------------------ harinath@cs.umn.edu ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 17:54 ` Benjamin Riefenstahl 2003-02-15 18:29 ` Raja R Harinath @ 2003-02-16 5:27 ` Ramakrishnan M 2003-02-17 6:26 ` Kenichi Handa 2003-02-20 11:09 ` Kenichi Handa 2 siblings, 1 reply; 24+ messages in thread From: Ramakrishnan M @ 2003-02-16 5:27 UTC (permalink / raw) Cc: emacs-devel || On 15 Feb 2003 18:54:46 +0100 || Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> wrote: br> (let ((fontset (query-fontset (frame-parameter nil 'font)))) br> (when (not fontset) br> (setq fontset "fontset-default") br> (set-default-font fontset)) br> (set-fontset-font fontset br> (cons (decode-char 'ucs #x0D00) br> (decode-char 'ucs #x0D7f)) br> (cons "misc-malayalam" "iso10646-1"))) I did the above. Still no success! I still cannot see the characters in mlm-util.el -- Ramakrishnan M (http://www.hackGNU.org/) Use Free Software -- Help stamp out Software Hoarding! ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-16 5:27 ` Ramakrishnan M @ 2003-02-17 6:26 ` Kenichi Handa 2003-02-17 14:41 ` Stefan Monnier 0 siblings, 1 reply; 24+ messages in thread From: Kenichi Handa @ 2003-02-17 6:26 UTC (permalink / raw) Cc: emacs-devel I'm sorry that I can't respond quickly. Apart from the fontset mysterious, I forgot to tell that you have to set scalable-fonts-allowed to t (the default is nil) to use TrueType fonts directly. --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-17 6:26 ` Kenichi Handa @ 2003-02-17 14:41 ` Stefan Monnier 2003-02-18 11:51 ` Kenichi Handa 0 siblings, 1 reply; 24+ messages in thread From: Stefan Monnier @ 2003-02-17 14:41 UTC (permalink / raw) Cc: emacs-devel > fontset mysterious, I forgot to tell that you have to set > scalable-fonts-allowed to t (the default is nil) to use > TrueType fonts directly. That should only be necessary if you also have non-scalable versions of the same font. Stefan ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-17 14:41 ` Stefan Monnier @ 2003-02-18 11:51 ` Kenichi Handa 2003-02-19 6:16 ` Kenichi Handa [not found] ` <87smugyh08.fsf@vsnl.net> 0 siblings, 2 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-18 11:51 UTC (permalink / raw) Cc: emacs-devel In article <200302171441.h1HEfdi26989@rum.cs.yale.edu>, "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> writes: >> fontset mysterious, I forgot to tell that you have to set >> scalable-fonts-allowed to t (the default is nil) to use >> TrueType fonts directly. > That should only be necessary if you also have non-scalable versions > of the same font. Ah! Sure. I forgot that I set scalable-fonts-allowed to "-morisawa-.*". So, the font selector doesn't fallback to the other scalable fonts. Hmmm, even in that case, the font selector should try all the other scalable fonts. Actually, I did that in emacs-unicode a while ago, and forgot about that completely. :-( --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-18 11:51 ` Kenichi Handa @ 2003-02-19 6:16 ` Kenichi Handa [not found] ` <87smugyh08.fsf@vsnl.net> 1 sibling, 0 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-19 6:16 UTC (permalink / raw) Cc: monnier+gnu/emacs In article <200302181151.UAA17618@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> writes: > Ah! Sure. I forgot that I set scalable-fonts-allowed to > "-morisawa-.*". So, the font selector doesn't fallback to > the other scalable fonts. Hmmm, even in that case, the font > selector should try all the other scalable fonts. Actually, > I did that in emacs-unicode a while ago, and forgot about > that completely. :-( I've just installed that change in HEAD. --- Ken'ichi HANDA handa@m17n.org 2003-02-19 Kenichi Handa <handa@m17n.org> * xfaces.c (try_alternative_families): Try all scalable fonts if Vscalable_fonts_allowed is not Qt. ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <87smugyh08.fsf@vsnl.net>]
* Re: No malayalam glyphs in language/mlm-util.el [not found] ` <87smugyh08.fsf@vsnl.net> @ 2003-02-24 1:46 ` Kenichi Handa 0 siblings, 0 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-24 1:46 UTC (permalink / raw) Cc: monnier+gnu/emacs In article <87smugyh08.fsf@vsnl.net>, gnu@vsnl.net (Ramakrishnan M) writes: > Ah.. I finally could see malayalam. Thanks to all of you > who helped me get this working. I did the following in > ~/.emacs > (if (eq 'x window-system) > (let ((fontset (query-fontset (frame-parameter nil 'font)))) > (when (not fontset) > (setq fontset "fontset-default") > (set-default-font fontset)) > (set-fontset-font fontset > (cons (decode-char 'ucs #x0D00) > (decode-char 'ucs #x0D7f)) > (cons "misc-malayalam" "iso10646-1")))) I think you can simply do this: (if (featurep 'fontset) (set-fontset-font "fontset-default" (cons (decode-char 'ucs #x0D00) (decode-char 'ucs #x0D7f)) (cons "misc-malayalam" "iso10646-1"))) > Now, my question is, can the whole thing be automated such > that when I just add a font to the system, it gets automatically > added to the fontset-default ? There are fonts that have malayalam glyphs other than "misc-malayalam", e.g. the font distribute here. http://openlab.jp/efont/dist/unicode-bdf/ They don't have "misc-malayalam" name but can be used in Emacs as well. So, even if Emacs finds "misc-malayalam" font, it doesn't mean a user want to use it. The problem of "iso10646-1" fonts is that, inspite of that registy name, they don't contain the whole glyphs for iso10646. To select a proper font for for a specific character automatically, Emacs has to check contents of each font. The current Emacs doesn't have this facility. As I implemented it for emacs-unicode, I'd like to ask people to wait for emacs-unicode. --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-15 17:54 ` Benjamin Riefenstahl 2003-02-15 18:29 ` Raja R Harinath 2003-02-16 5:27 ` Ramakrishnan M @ 2003-02-20 11:09 ` Kenichi Handa 2003-02-20 12:26 ` Juanma Barranquero 2003-02-21 21:43 ` Richard Stallman 2 siblings, 2 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-20 11:09 UTC (permalink / raw) Cc: emacs-devel In article <m37kc1whsp.fsf@cicero.benny.turtle-trading.net>, Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> writes: > gnu@vsnl.net (Ramakrishnan M) writes: >> Also when I do M-x describe-fontset (default, used by the current >> frame) ENTER I get >> >> current frame is using a font, not a fontset > This appears for me also, if I start Emacs without any font > configuration. When I set the font in my ~/.Xdefaults (as I usually > do) I have a fontset, even with emacs -q. I have just installed a change with which M-x describe-fontset will describe the default fontset if the current frame is not using a fontset. By the way, I'll explain a bit more about the fontsets. Emacs creates these fontset at startup time. (1) The default fontset ("fontset-default"). This fontset is not used directly as a frame font. It is to provide fallback font information. When a frame is not using a fontset, or a frame's fontset doesn't contain font information about a specific character, the fonts specified in the default fontset is used. So, in most cases, changing the definition of the fontset is effective. (2) The standard fontset ("fontset-standard"). This is a fontset of 16-dot fonts for non-ASCII characters most widely installed. By using this fontset, the possibility of seeing many non-ASCII characters in a balanced size is very high. (3) The startup fontset ("fontset-startup"). If you specify a font by "-fn" command line argument or by X resource "Font", Emacs creates this fontset by the function create-fontset-from-ascii-font, and uses it for the initial frame. In this case, the fontset specifies only a font for ASCII characters. So, the fonts for non-ASCII characters are decided by the default fontset. But on selecting a font, the family of the ASCII fonts is respected. If no font is specified, Emacs uses this font (on Unix/GNU Linux): -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1 In this case, the initial frame doesn't use a fontset, thus the fonts for non-ASCII characters are decidd by the default fontset too. (4) The fontsets created from the X resource "Fontset-N". When you have X resource "Fontset-N" (N is 0, 1, 2, ...), Emacs creates the corresponding fontset as described in the node "Defining Fontsets" of Emacs info. --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-20 11:09 ` Kenichi Handa @ 2003-02-20 12:26 ` Juanma Barranquero 2003-02-20 12:50 ` Kenichi Handa 2003-02-21 21:43 ` Richard Stallman 1 sibling, 1 reply; 24+ messages in thread From: Juanma Barranquero @ 2003-02-20 12:26 UTC (permalink / raw) On Thu, 20 Feb 2003 20:09:16 +0900 (JST), Kenichi Handa <handa@m17n.org> wrote: > By the way, I'll explain a bit more about the fontsets. Speaking of fontsets, with this change: Revision 1.74 - Thu Feb 20 08:40:35 2003 UTC (3 hours, 34 minutes ago) by handa Branch: MAIN CVS Tags: HEAD (check_fontset_name): If NAME is nil, return the default fontset. Emacs doesn't load on windowing mode on Windows because term/w32-win.el contains: (set-fontset-font t (make-char 'katakana-jisx0201) '("*" . "JISX0208-SJIS")) (set-fontset-font t (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS")) (set-fontset-font t (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS")) (set-fontset-font t (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS")) It's easy enough to change these t to nil, but, why the change? AFAICS, (set-fontset-font [t|nil]...) is not used anywhere on Emacs except by term/w32-win.el, and not surprisingly so, as the docs don't mention the posibility of NAME being other than a string... /L/e/k/t/u ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-20 12:26 ` Juanma Barranquero @ 2003-02-20 12:50 ` Kenichi Handa 0 siblings, 0 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-20 12:50 UTC (permalink / raw) Cc: emacs-devel In article <20030220131831.A3E0.LEKTU@terra.es>, Juanma Barranquero <lektu@terra.es> writes: > (check_fontset_name): If NAME is nil, return the default fontset. > Emacs doesn't load on windowing mode on Windows because term/w32-win.el > contains: > (set-fontset-font t (make-char 'katakana-jisx0201) '("*" . "JISX0208-SJIS")) > (set-fontset-font t (make-char 'latin-jisx0201) '("*" . "JISX0208-SJIS")) > (set-fontset-font t (make-char 'japanese-jisx0208) '("*" . "JISX0208-SJIS")) > (set-fontset-font t (make-char 'japanese-jisx0208-1978) '("*" . "JISX0208-SJIS")) > It's easy enough to change these t to nil, but, why the change? > AFAICS, (set-fontset-font [t|nil]...) is not used anywhere on Emacs > except by term/w32-win.el, and not surprisingly so, as the docs don't > mention the posibility of NAME being other than a string... Oops, sorry. Long ago, for already forgotten reason, I introduced the feature of using t for the default fontset, but, it seems that the necessity disappeared before I documented it. I think nil is better than t for specifying the default fontset. I've just documented that NAME nil means the default fontset in functions of fontset.c, and fixed term/w32-win.el. --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-20 11:09 ` Kenichi Handa 2003-02-20 12:26 ` Juanma Barranquero @ 2003-02-21 21:43 ` Richard Stallman 1 sibling, 0 replies; 24+ messages in thread From: Richard Stallman @ 2003-02-21 21:43 UTC (permalink / raw) Cc: emacs-devel By the way, I'll explain a bit more about the fontsets. Emacs creates these fontset at startup time. Could you write text about these for the Emacs Manual or the Emacs Lisp Manual? ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <1045400184.16187.694.camel@uma>]
[parent not found: <1045406040.597.28.camel@debian>]
* Re: No malayalam glyphs in language/mlm-util.el [not found] ` <1045406040.597.28.camel@debian> @ 2003-02-17 20:36 ` Richard Stallman 2003-02-17 23:43 ` Kenichi Handa 0 siblings, 1 reply; 24+ messages in thread From: Richard Stallman @ 2003-02-17 20:36 UTC (permalink / raw) Cc: Arun M I visited CDAC today and met with its head, Dr Arora. It looks like there is a good chance they will make their fonts free. In the mean time, I am forwarding info about existing free fonts for India scripts, send by Arun: http://www.gnu.org.in/software/software.html#akruti ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: No malayalam glyphs in language/mlm-util.el 2003-02-17 20:36 ` Richard Stallman @ 2003-02-17 23:43 ` Kenichi Handa 0 siblings, 0 replies; 24+ messages in thread From: Kenichi Handa @ 2003-02-17 23:43 UTC (permalink / raw) Cc: emacs-devel In article <E18ks0O-0004Vg-00@fencepost.gnu.org>, Richard Stallman <rms@gnu.org> writes: > I visited CDAC today and met with its head, Dr Arora. > It looks like there is a good chance they will make their fonts free. That's a very good news. Thank you for taking time for it. > In the mean time, I am forwarding info about existing free > fonts for India scripts, send by Arun: > http://www.gnu.org.in/software/software.html#akruti I checked those fonts. As I wrote, it seems that it's not difficult to use those fonts. With emacs-unicode, as I have implemented auto-composition mode, it's possible to support both of them, i.e. users can switch fonts dynamically. But with the current emacs, users have to select which fonts to use at startup time. --- Ken'ichi HANDA handa@m17n.org ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2003-02-24 1:46 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-02-22 11:22 No malayalam glyphs in language/mlm-util.el Ramakrishnan M -- strict thread matches above, loose matches on Subject: below -- 2003-02-11 18:01 no font shown with tamil.el Robert J. Chassell 2003-02-12 20:33 ` Richard Stallman 2003-02-13 23:47 ` Kenichi Handa 2003-02-14 11:00 ` Kenichi Handa 2003-02-14 14:35 ` No malayalam glyphs in language/mlm-util.el Robert J. Chassell 2003-02-14 19:58 ` Raja R Harinath 2003-02-14 21:50 ` Robert J. Chassell 2003-02-14 22:20 ` Raja R Harinath 2003-02-15 0:43 ` Robert J. Chassell 2003-02-15 3:16 ` Ramakrishnan M 2003-02-15 3:34 ` Ramakrishnan M 2003-02-15 15:40 ` Robert J. Chassell 2003-02-15 16:00 ` Ramakrishnan M 2003-02-15 17:54 ` Benjamin Riefenstahl 2003-02-15 18:29 ` Raja R Harinath 2003-02-16 5:27 ` Ramakrishnan M 2003-02-17 6:26 ` Kenichi Handa 2003-02-17 14:41 ` Stefan Monnier 2003-02-18 11:51 ` Kenichi Handa 2003-02-19 6:16 ` Kenichi Handa [not found] ` <87smugyh08.fsf@vsnl.net> 2003-02-24 1:46 ` Kenichi Handa 2003-02-20 11:09 ` Kenichi Handa 2003-02-20 12:26 ` Juanma Barranquero 2003-02-20 12:50 ` Kenichi Handa 2003-02-21 21:43 ` Richard Stallman [not found] ` <1045400184.16187.694.camel@uma> [not found] ` <1045406040.597.28.camel@debian> 2003-02-17 20:36 ` Richard Stallman 2003-02-17 23:43 ` Kenichi Handa
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).