Wednesday 13 June 2012

Type in Hindi and other Indian languages using yudit

If you want to type in Hindi ,you can use yudit which is a free software can be downloaded from http://www.yudit.org/download.html.

Yudit is a simple Unicode editor, has Opentype font support for Devanagari, Malayalam & other
indic languages. Inscript & phonetic keymaps are available for typing in Indic.


Install yudit :
You can follow the steps given at the following URLto install yudit.

  1. http://www.yudit.org/download/binary
  2. if you have downloaded the zipped folder.Unzip it and go to the folder 
     1. cd yudit
     2.configure --prefix=/usr/local
     3. make
     4. make install

Binary RPMs and Windows version is also available.To type in any indian language, you need to only install the font and set the keymap.Yudit only works with Unicode or Opentype fonts.
For Hindi/Marathi download Gargi devanagari opentype font.



To install the font :
Either copy it into .yudit/fonts in your home directory.
$ cd
$ cp Gargi-1.1.ttf .yudit/fonts
or globally in /usr/share/yudit/fonts.
# cp Gargi-1.1.ttf /usr/share/yudit/fonts/
You dont need to do any ttmkfdir/mkfontdir stuff.
Yudit configuration is stored in ~/.yudit/yudit.properties.
Global one is in /usr/share/yudit/config/yudit.properties
In yudit.properties look for line starting with
yudit.font.TrueType=

And add the font file name (eg Gargi-1.1.ttf) to the line, like below
yudit.font.TrueType=Gargi-1.1.ttf,Sampige.ttf,arial.ttf,kochi-gothic.ttf, gulim.ttf,
tsckanna.ttf:tscii, dc-font.ttf,code2000.ttf, code2001.ttf:unicode:RL, cyberbit.ttf,yudit.ttf
Using Yudit http://www.indlinux.org/doc/yuditguide.html


Next you need to set the keyboard input. Start yudit ,
You will get a Window like below.














Font (with "A" icon ) : This should be set to TrueType ( Shift - F2 does it )
Input (right of Font ): Clicking this brings up a dialog as shown below.
The Available list contains list of all supported input methods.
For Indic inscript and phonetic keymaps are defined , of the name lang-inscript or lang-phonetic
where lang is 3 letter code for the language eg Devanagari - dev, Kannada - kan , Telugu - Tel

You can assign one input method to each Function key.
Leaving F1 as straight ( ie english ) you can set you language by , selecting the input map
and funtion key to bind to and click the arrow.


















On Windows
If you are using Yudit on windows, assuming you have installed in say C:\Yudit
Your configuration will be in C:\Yudit\config\yudit.properties
And Fonts in C:\Yudit\fonts
Rest all you can follow steps as above.


Snapshot from yudit


















References:


  1. http://www.indlinux.org/doc/yuditguide.html 
  2. http://www.yudit.org/download/binary/



No comments:

Post a Comment