Übersicht Letzte Änderungen Neuigkeiten Suchen ElispSektion KurzAnleitung Impressum
Argentinien: Tag des Vaterlandes (Sturz des spanischen Vizekönigs 1810), Jordanien: Erlangung der Unabhängigkeit 1946

SupportHindi

Printing your buffer

With many thanks to fledermaus and tintin on #emacs.

See also PrintingBdfFonts

CVS Emacs

CVSEmacs with the CDAC fonts can render devanagiri characters. The CDAC fonts are given below. Both Xorg (6.9.0.dfsg.1-4) as well as XFree86 (4.2) support the fonts.

Try having these for cvs emacs seems to help half way.(works perfectly in xfree86. xorg needs a bug fix)

It seems to work in Xorg now. Version 6.9.0.dfsg.1-4.

The cdac fonts which can be found here:

Get the fonts and then use the makefile to extract the pcf and bdf fonts. You might need to use mkfontdir to create a fonts.dir. Add the directory to xorg.conf (or the font server config).

(load-library "quail/indian")
(set-fontset-font "fontset-standard" 
		  (cons (decode-char 'ucs ?\x0900) (decode-char 'ucs ?\x097F))
		  "-freetype-untitled-medium-r-normal--33-240-100-100-p-163-iso10646.indian-1")
(set-fontset-font "fontset-standard"
		  (cons (indian-glyph-char 0 'devanagari) (indian-glyph-char 255 'devanagari))
		  "-freetype-dv ttsuresh-medium-r-normal-33-240-100-100-p-119-devanagari-cdac")
(toggle-input-method)

It does not seem to be necessary to mess with quail. You can create a new fontset. I prefer doing this in Xresources. So, the fontset will look like: (only the last two are important for Hindi)

Emacs.Fontset-0:-xos4-terminus-*-r-normal-*-*-*-*-*-*-*-iso10646-1, \
  chinese-gb2312:-*-fangsong ti-medium-r-normal--*-*-*-*-*-*-gb2312.1980-*, \
  unicode-mono:-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1, \
  unicode-wide:-gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1, \
  mule-unicode-0100-24ff:-freetype-*-*-*-*-*-*-*-*-*-*-*-devanagari-cdac, \
  indian-glyph:-freetype-*-*-*-*-*-*-*-*-*-*-*-devanagari-cdac
  • C-u C-x = on a Hindi character in the HELLO file yields mule-unicode-0100-24ff but adding indian-glyph can’t hurt.

CVS Emacs (emacs-23)

If you install m17n-lib 1.5 or above [www.m17n.org] along with lohit devanagari font, emacs can display hindi very well emacs-gnus-hindi


CategoryInternationalization