From: <dee...@ii...> - 2014-01-30 19:45:28
|
Hello! First of all I would like to congratulate you for creating this wonderful software, and for the time and effort you are investing on making Bengali work. Nothing beats a terminal for efficiency, and working in my mother tongue would really make it a wonderful experience for me. I have the following to report - 1) I adopted method B. 2) The installation of mlterm went smoothly. 3) While trying to install the wrapper, I had to make a change in the file xwindow/libtype/fc-wrapper.c - #include <freetype/freetype.h> to #include<freetype2/freetype.h> 4) I started mlterm as you had directed and the boxes are gone. Thank you again for all your effort. 5) There is one problem with one of the letters. I am again sending you a screenshot with how it should look(gedit) and how it is looking(first attachment). 6) Could you suggest how to increase the display area for mlterm? For instance, an "ls" on a directory only occupies what looks like 80 columns(second screenshot). I tried some combinations of --wscr and --hscr but I did not get the desired result. Thanks a lot for your time. Regards, Deepanjan > Hi, > > From: dee...@ii... > Subject: [Mlterm-dev-en] Regarding rendering of Bengali > Date: Sat, 25 Jan 2014 12:22:05 +0530 > Message-ID: > <e35...@we...> > >> I am trying to use mlterm for my mother tongue Bengali which is part of >> Indic script. Though Hindi(devanagari) rendering is okay, I find a few >> boxes in Bengali rendering. Can somebody help me with this? > > I've investigated this problem, and I understand why some (0x80-0x9f) > indic > glyphs of ISCII fonts are replaced by rectangular boxes. > It is necessary to fix fontconfig. > > Please install hg head mlterm (which includes fixes for rendering > Bengali) > and do either (A) or (B) in order not to show rectangular boxes. > ((B) is easier than (A)) > > (A) Apply http://mlterm.sf.net/fontconfig-2.8.0-fix4indic.patch then > rebuild > fontconfig. > (B) Build libfc_wrapper.so from xwindow/libtype/fc_wrapper.c and preload > it. > > Please try following steps. > > 1) Get https://bitbucket.org/arakiken/mlterm/get/tip.tar.gz > 2) Unpack it and execute following commands. > $ ./configure --enable-ind --with-type-engines=xcore,xft,cairo ... > $ make > $ make install > $ cd xwindow/libtype > $ make libfc_wrapper.la > $ make install_fc_wrapper > $ chmod 755 (INSTALLED DIRECTORY)/bin/mlterm > $ LD_PRELOAD=(INSTALLED DIRECTORY)/lib/mlterm/libfc_wrapper.so mlterm > -ind -bi=false ... > > http://mlterm.sf.net/mlterm-indic-elinks2.png is the screenshot of > browsing > http://www.bbc.co.uk/bengali. > > If mlterm uses unicode fonts to rendering indic scripts in the future, > these hacks will be unnecessary. > > Regards, > --- > Araki Ken > ara...@us... > > |