Posted inUncategorized

How to install fonts

apt-get install ttmkfdir
#mkdir /usr/share/fonts/truetype/malayalam/
move the font here.

#ttmkfdir > fonts.scale
#mkfontscale
#ttmkfdir > fonts.dir
#mkfontdir
#xset fp+ /usr/share/fonts/truetype/hindi/
#xset fp rehash
#fc-cache -fv

restart Display(X)

How to install Malayalam
Download ttf-malayalam-sm-fonts_0.5.1-1_all.deb and patches-0.0607.tar.bz2
http://smc.org.in/

#dpkg -i installation/gnu/language/ttf-malayalam-sm-fonts_0.5.1-1_all.deb
# cd /usr/lib/pango/1.5.0/modules
# mv pango-indic-fc.so pango-indic-fc.so.orig
# cp /home/jag/installation/gnu/language/pango-indic-fc.so .

restart Display(X)

To Enable Malayalam

apt-get install language-support-ml language-pack-ml language-pack-gnome-ml language-pack-gnome-ml-base language-pack-kde-ml language-pack-kde-ml-base

apt-get install scim scim-gtk2-immodule m17n-contrib scim-m17n

wget http://download.savannah.gnu.org/releases/smc/Swanalekha/scim-ml-phonetic_0.1.3-1_all.deb
dpkg -i scim-ml-phonetic_0.1.3-1_all.deb

wget http://ftp.jp.debian.org/debian/pool/main/t/ttf-indic-fonts/ttf-malayalam-fonts_0.5.4_all.deb
dpkg -i ttf-malayalam-fonts_0.5.4_all.deb

touch /etc/X11/Xsession.d/74custom-scim_startup
chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
echo ‘export XMODIFIERS=”@im=SCIM”‘ >> /etc/X11/Xsession.d/74custom-scim_startup
echo ‘export GTK_IM_MODULE=”scim”‘ >> /etc/X11/Xsession.d/74custom-scim_startup
echo ‘export XIM_PROGRAM=”scim -d”‘ >> /etc/X11/Xsession.d/74custom-scim_startup
echo ‘export QT_IM_MODULE=”scim”‘ >> /etc/X11/Xsession.d/74custom-scim_startup
chmod 644 /etc/X11/Xsession.d/74custom-scim_startup

Leave a Reply

Your email address will not be published. Required fields are marked *