Page 1 of 1
Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietnam)
Posted: Sun 04 Jun 2006, 17:39
by MU
Seems to work with vietnamese and cyrillic.
There is a related project for yiddish and more, but I did not include that yet:
http://gtk-im-extra.sourceforge.net/
This is simple to use:
install the Dotpup, run the new Dotpup-menuentry once, start Abiword.
With a rightclick -> input methods choose cyrillic or vietnamese (Telex).
Choose the font "DejaVu" for your text ( 2.6, from
http://dejavu.sourceforge.net/wiki/index.php/Main_Page ).
Download (3 MB, 6 MB extracted):
http://dotpups.de/dotpups/Libraries/Gtk ... u-font.pup
It seems, you will not need to set up UTF-locale stuff, I can even use it with LANG=de_DE (no UTF).
If I am wrong, tell me, and I will help you.
The modules itself are very small, just the included ldconfig and the font make it so huge.
I took the Unicode-modules from Mandriva LE2005, the vietnamese module I compiled myself ( from
http://freshmeat.net/projects/gtk-im-vi/ ).
They seem to use other keycombinations than "x-unikey" introduced by Hacao in the language-wiki.
I tried a selfcompiled unikey 1.04, and also
http://xvnkb.sourceforge.net/, but had no success. Spent a whole night with that
For a short moment, unikey worked, but then never again.
I don't know what I messed up
Mark
Re: Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietn
Posted: Mon 05 Jun 2006, 00:59
by Hacao
MU wrote:
For a short moment, unikey worked, but then never again.
Mark
How do that ?
Posted: Mon 05 Jun 2006, 01:18
by phantrongnghia
Oh,now i can typing vietnamese (installed xvnkb)!
But some problem occurred:
-Af ter i install ldconfig-gtk2-unicode,abiword not run!
And
x-unikey typing in telex mode(from vietnamese puppy):
Tieengs Vieetj -> Tiếng Việt
but ldconfig-gtk2-unicode :
Tieesng Vieejt -> Tiếng Việt
and in hacao puppy:
when type [ it display ơ
when type ]it display ư(still true)
but it spend more time
When I run abiword from console:
(abiword:3542): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(abiword:3542): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion `GTK_IS_WIDGET (widget)' failed
(abiword:3542): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'
(abiword:3542): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(abiword:3542): GLib-GObject-CRITICAL **: g_object_notify: assertion `G_IS_OBJECT (object)' failed
And I can not type in mozilla,geany...
I hope you shall fix all problem
thanks
But i am very interested:
Posted: Mon 05 Jun 2006, 15:18
by MU
Hacao, I compiled x-unikey 1.04:
http://prdownloads.sourceforge.net/unik ... .4.tar.bz2
I ran it like this:
export LANG=en_US.UTF-8
export GTK_IM_MODULE="xim"
export XMODIFIERS="@im=unikey"
unikey&
abiword
This only worked immedeatly after compiling unikey, after a reboot, it did not work again.
It still is partially working, when you type
"Tiee" in Abiword, it removes the "ee", but it does not insert the new vietnamse "e".
To get the en_US.UTF-8 , I copied the folder from /usr/X11R6/lib/X11/locale from Mandriva-Linux to Puppy, also /usr/share/locale/en_US.UTF-8 and /usr/lib/locale/en_US.UTF-8.
I also copied the vietnamese locale from Hacao-Linux 1.0.6.
----------------------------------------
phantrongnghia:
I don't understand why it breaks your Abiword.
You can uninstall it in Pupget, to fix your Abiword.
I will do some more tests in the next days.
Mark
Configure error !
Posted: Tue 06 Jun 2006, 06:39
by Hacao
Hi !
I followed your way, but it error at ./configure here
Code: Select all
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
./configure: line 4909: syntax error near unexpected token `))'
./configure: line 4909: ` (test "X$CXX" != "Xg++"))) ; then'
#
What your fixed it ?
Thanks,
Posted: Tue 06 Jun 2006, 06:49
by MU
oh yes, you must replace ))) with ) ) )
There are 3 or 4 lines.
Wait, I upload the corrected source...
http://dotpups.de/tests/x-unikey-1.0.4.tgz
I compiled with
./configure --prefix=/usr
Mark
Posted: Tue 06 Jun 2006, 09:18
by phantrongnghia
Can you give me your locale folder,MU?
I do not install Mandriva and other distro,i also install puppy
Thanks
Posted: Tue 06 Jun 2006, 13:48
by MU
http://dotpups.de/tests/x-unikey.pup
Notes:
This does not work correct, it is just for tests!
It has a script for tests, you can edit it so set variables:
/usr/local/x-unikey/test-x-unikey
It includes
/usr/lib/en_US.UTF-8
and
/usr/share/en_US.UTF-8
I also added a folder
/usr/local/x-unikey/X11R6/lib/X11/locale
You can copy those files manually to
/usr/X11R6/lib/X11/locale
I don't know if this one is needed.
This will overwrite some of Puppys files, so I did not make it to install automatically.
You might use a new pup001 or backup first your whole
/usr/X11R6/lib/X11/locale
If it fails, you could try to compile unikey yourself again with the Source I posted for Hacao.
Mark
Posted: Tue 06 Jun 2006, 15:30
by phantrongnghia
I did all you say
But I could not type vietnamese in Abiword(i installed from source of you and x-unikey.pup)
Thanks
Posted: Wed 07 Jun 2006, 01:20
by phantrongnghia
I asked in Vietnamese Open Source Software Forum
mrchuoi wrote:
In Abiword 2.2 and later changed key processor and conflict with XIM and other appication use XIM (such as:xvnkb,x-unikey) can not work.All version
Abiword 2.0.x and older work well
This is for Hacao
Posted: Sun 04 Nov 2012, 00:10
by mydomain2
Hi,
Could you share Viet typing that Hacao uses? Is it in PET?
Cam on