Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietnam)
Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietnam)
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
How do that ?MU wrote: For a short moment, unikey worked, but then never again.
Mark
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=44675]Hacao Linux 2009 CE released ![/url]
[url=http://hacao.com]Hacao.com[/url] English & Vietnamese !
[url=http://hacao.com]Hacao.com[/url] English & Vietnamese !
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
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:
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:
But i am very interested:
(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
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
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 !
Hi !
I followed your way, but it error at ./configure here
What your fixed it ?
Thanks,
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'
#
Thanks,
- Attachments
-
- configure.jpg
- (156.82 KiB) Downloaded 2228 times
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=44675]Hacao Linux 2009 CE released ![/url]
[url=http://hacao.com]Hacao.com[/url] English & Vietnamese !
[url=http://hacao.com]Hacao.com[/url] English & Vietnamese !
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
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
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
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
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
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
- phantrongnghia
- Posts: 205
- Joined: Mon 24 Apr 2006, 14:11
- Location: Hanoi,Vietnam
- Contact:
This is for Hacao
Hi,
Could you share Viet typing that Hacao uses? Is it in PET?
Cam on
Could you share Viet typing that Hacao uses? Is it in PET?
Cam on