Discussion:
[Mlterm-dev-en] A bug in mlterm with indic script
vlse
2017-03-19 10:12:57 UTC
Permalink
Hello,

1) I build mlterm with
./configure --prefix=/run/termml --with-gui=fb --enable-anti-alias --disable-ssh2 --disable-static --disable-dnd

2) I have set following configurations
a) font-fb
DEFAULT = /usr/share/fonts/TrueType/DejaVuSansMono.ttf:120
U+0B80-0BFF = /usr/share/fonts/TrueType/NotoSansTamil-Regular.ttf:80

b) key
Meta+q=IM_HOTKEY

3) Am running mlterm with
mlterm-fb -E UTF-8 -K super --im=m17nlib:ta:inscript -otl true -bg black -fg white

4) When I type or use echo command to output following tamil unicode characters

echo -ne "\xe0\xae\xbe\xe0\xae\xb2"

a) screen changes to white and nothing is seen.
b) Pressing enter shows prompt
c) no more I can change input methods
d) characters are not shown in tamil but some weird ascented ascii characters

Please help

veera,
vlse
Araki Ken
2017-03-31 13:56:06 UTC
Permalink
Hi,

From: vlse <***@veera.biz>
Subject: [Mlterm-dev-en] A bug in mlterm with indic script
Date: Sun, 19 Mar 2017 15:42:57 +0530
Post by vlse
Hello,
1) I build mlterm with
./configure --prefix=/run/termml --with-gui=fb --enable-anti-alias --disable-ssh2 --disable-static --disable-dnd
2) I have set following configurations
a) font-fb
DEFAULT = /usr/share/fonts/TrueType/DejaVuSansMono.ttf:120
U+0B80-0BFF = /usr/share/fonts/TrueType/NotoSansTamil-Regular.ttf:80
b) key
Meta+q=IM_HOTKEY
3) Am running mlterm with
mlterm-fb -E UTF-8 -K super --im=m17nlib:ta:inscript -otl true -bg black -fg white
4) When I type or use echo command to output following tamil unicode characters
echo -ne "\xe0\xae\xbe\xe0\xae\xb2"
a) screen changes to white and nothing is seen.
b) Pressing enter shows prompt
c) no more I can change input methods
d) characters are not shown in tamil but some weird ascented ascii characters
I built and tested mlterm-3.8.0 on Fedora 24 by following the steps above.
The result is Loading Image...

Please tell me the result of following commands.

$ /run/termml/bin/mlterm-fb -v
$ ldd /run/termml/bin/mlterm-fb
$ pkg-config harfbuzz --modversion
$ ldd /run/termml/lib/mlterm/libotl.so

I suspect -otl option doesn't work, though I doesn't hit upon the reason.

Regards,
---
Araki Ken
***@users.sourceforge.net
vlse
2017-04-01 06:38:57 UTC
Permalink
Hi Araki Ken,

It was nice to know through the pic that mlterm-fb worked in Fedora 24.
And that is the result it should had been.

If run without '-otl true', it just shows a capital 'U' with one little slash above it.

Here are the ouputs of command you asked:

1) /run/termml/bin/mlterm-fb -v

mlterm-fb version 3.8.0

2) ldd /run/termml/bin/mlterm-fb

linux-vdso.so.1 (0x00007fff967fe000)
libmlterm_coreotl.so => /run/termml/lib/libmlterm_coreotl.so (0x00007f0bf748f000)
libpobl.so.1 => /run/termml/lib/libpobl.so.1 (0x00007f0bf7284000)
libmef.so.1 => /run/termml/lib/libmef.so.1 (0x00007f0bf706a000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f0bf6e66000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f0bf6c32000)
libm.so.6 => /lib/libm.so.6 (0x00007f0bf6931000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f0bf66d9000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f0bf63d3000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f0bf6169000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0bf5f4c000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f0bf5c94000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f0bf5a7c000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f0bf586c000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f0bf564b000)
libc.so.6 => /lib/libc.so.6 (0x00007f0bf52a3000)
/lib/ld-linux-x86-64.so.2 (0x00007f0bf7698000)

3) pkg-config harfbuzz --modversion

0.9.35

4) ldd /run/termml/lib/mlterm/libotl.so

linux-vdso.so.1 (0x00007f5c5a1de000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f5c59d72000)
libpobl.so.1 => /run/termml/lib/libpobl.so.1 (0x00007f5c59b67000)
libc.so.6 => /lib/libc.so.6 (0x00007f5c597be000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f5c594b8000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f5c5924e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f5c59030000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f5c58d78000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f5c58b60000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f5c5894f000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f5c5872e000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f5c5852a000)
/lib/ld-linux-x86-64.so.2 (0x00007f5c5a1e0000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f5c582f5000)
libm.so.6 => /lib/libm.so.6 (0x00007f5c57ff4000)


Thanks,

veera,
vlse

Loading...