unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 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

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).