From: Araki K. <ara...@us...> - 2014-01-27 16:25:37
|
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... |