-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] (Alok G. Singh) writes:
> On 19 Jul 2007, [EMAIL PROTECTED] wrote:
>
>> I'm able to get 'devanagari-itrans' input method working, with
>> devanagari characters getting rendered in minibuffer, but the main
>> editor buffer still shows boxes. Anybody has any idea how to make
>> emacs render devanagari text ?
>
> It's just a question of getting the right fonts. If you are using
> emacs21 or emacs22, the only fonts I found that worked as advertised
> were the (possibly non-free) CDAC fonts.

The screenshot of Emacs rendering Devanagari text on my box is below:
http://flickr.com/photos/wahjava/857367020/

Do you get similar kind of rendering with CDAC fonts or better than
this ?

>
> The emacswiki link cited above has a recipe for setting a fontset in
> your .Xdefaults that worked for me.

I don't have CDAC fonts, so I've tried setting following font set in
my .Xdefaults:

- -- begin .Xdefaults --
Emacs.Fontset-0:-xos4-terminus-medium-r-normal-*-17-*-*-*-*-*-iso10646-1, \
  chinese-gb2312:-*-fangsong ti-medium-r-normal--*-*-*-*-*-*-gb2312.1980-*, \
  unicode-mono:-bitstream-bitstream vera sans 
mono-medium-r-normal--17-120-100-100-*-*-iso10646-1, \
  unicode-wide:-bitstream-bitstream vera sans 
mono-medium-r-normal--17-120-100-100-*-*-iso10646-1, \
  
mule-unicode-0100-24ff:-misc-fixed-medium-r-normal--17-120-100-100-*-*-*-devanagari,
 \
  indian-glyph:-misc-fixed-medium-r-normal--17-120-100-100-*-*-*-devanagari
- -- end .Xdefaults --

Setting above font set in my Emacs doesn't have any effect on
rendering of Indic fonts. They render same as they render before
changing .Xdefaults as shown in the screenshot. Yes I did "xrdb
~/.Xdefaults" after modifying.

>
> You would have a wider choice in fonts if you use emacs-unicode-2. All
> the ttf fonts render just fine (at least for Hindi, other indic
> languages have some small problems).

Does emacs-unicode-2 also has support for complex script rendering, hmm... ?

>
> -- 
> Alok
>
> Van Roy's Law:
>       An unbreakable toy is useful for breaking other toys.
>
>
> _______________________________________________
> ilugd mailinglist -- [email protected]
> http://frodo.hserus.net/mailman/listinfo/ilugd
> Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
> http://www.mail-archive.com/[email protected]/

Thanks
Ashish Shukla
- -- 
Ashish Shukla "Wah Java !!"
आशीष शुक्ल

  ,= ,-_-. =.  | A: Yes.                                                    |
 ((_/)o o(\_)) | >Q: Are you sure?                                          |
  `-'(. .)`-'  | >>A: Because it reverses the logical flow of conversation. |
      \_/      | >>>Q: Why is top posting frowned upon?                     |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGoFotHy+EEHYuXnQRAtEuAJ9+rmrHVchHvWz0zP6Af7mmYTiD/QCdGSEy
n57x8cGUJrKbu+9Nq/Zvet8=
=vk38
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to