The time now is Tue 21 May 2013, 10:05
All times are UTC - 4 |
| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 04 Jun 2006, 13:39 Post subject:
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-2.0-unicode-with-Deja-vu-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
|
|
Back to top
|
|
 |
Hacao

Joined: 10 Aug 2005 Posts: 225 Location: Saigon, Vietnam
|
Posted: Sun 04 Jun 2006, 20:59 Post subject:
Re: Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietn |
|
| MU wrote: |
For a short moment, unikey worked, but then never again.
Mark |
How do that ?
_________________ Hacao Linux 2009 CE released !
Hacao.com English & Vietnamese !
|
|
Back to top
|
|
 |
phantrongnghia

Joined: 24 Apr 2006 Posts: 205 Location: Hanoi,Vietnam
|
Posted: Sun 04 Jun 2006, 21:18 Post subject:
|
|
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:
| Quote: |
(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:
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Mon 05 Jun 2006, 11:18 Post subject:
|
|
Hacao, I compiled x-unikey 1.04:
http://prdownloads.sourceforge.net/unikey/x-unikey-1.0.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
|
|
Back to top
|
|
 |
Hacao

Joined: 10 Aug 2005 Posts: 225 Location: Saigon, Vietnam
|
Posted: Tue 06 Jun 2006, 02:39 Post subject:
Configure error ! |
|
Hi !
I followed your way, but it error at ./configure here
| Code: |
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,
| Description |
|

Download |
| Filename |
configure.jpg |
| Filesize |
156.82 KB |
| Downloaded |
1795 Time(s) |
_________________ Hacao Linux 2009 CE released !
Hacao.com English & Vietnamese !
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 06 Jun 2006, 02:49 Post subject:
|
|
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
|
|
Back to top
|
|
 |
phantrongnghia

Joined: 24 Apr 2006 Posts: 205 Location: Hanoi,Vietnam
|
Posted: Tue 06 Jun 2006, 05:18 Post subject:
|
|
Can you give me your locale folder,MU?
I do not install Mandriva and other distro,i also install puppy
Thanks
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 06 Jun 2006, 09:48 Post subject:
|
|
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
|
|
Back to top
|
|
 |
phantrongnghia

Joined: 24 Apr 2006 Posts: 205 Location: Hanoi,Vietnam
|
Posted: Tue 06 Jun 2006, 11:30 Post subject:
|
|
I did all you say
But I could not type vietnamese in Abiword(i installed from source of you and x-unikey.pup)
Thanks
|
|
Back to top
|
|
 |
phantrongnghia

Joined: 24 Apr 2006 Posts: 205 Location: Hanoi,Vietnam
|
Posted: Tue 06 Jun 2006, 21:20 Post subject:
|
|
I asked in Vietnamese Open Source Software Forum
| Quote: |
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
|
|
|
Back to top
|
|
 |
mydomain2
Joined: 03 Nov 2012 Posts: 2
|
Posted: Sat 03 Nov 2012, 20:10 Post subject:
This is for Hacao |
|
Hi,
Could you share Viet typing that Hacao uses? Is it in PET?
Cam on
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|