Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Nov 2014, 17:48
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Gtk2-Unicode (Abiword etc.), Font DejaVu (cyrillic,vietnam)
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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 Rolling Eyes
For a short moment, unikey worked, but then never again.
I don't know what I messed up Embarassed

Mark
Back to top
View user's profile Send private message Visit poster's website 
Hacao


Joined: 10 Aug 2005
Posts: 225
Location: Saigon, Vietnam

PostPosted: 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
View user's profile Send private message Visit poster's website 
phantrongnghia


Joined: 24 Apr 2006
Posts: 205
Location: Hanoi,Vietnam

PostPosted: 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
View user's profile Send private message Visit poster's website Yahoo Messenger 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
Hacao


Joined: 10 Aug 2005
Posts: 225
Location: Saigon, Vietnam

PostPosted: 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,
configure.jpg
Description 
jpg

 Download 
Filename  configure.jpg 
Filesize  156.82 KB 
Downloaded  1933 Time(s) 

_________________
Hacao Linux 2009 CE released !

Hacao.com English & Vietnamese !
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
phantrongnghia


Joined: 24 Apr 2006
Posts: 205
Location: Hanoi,Vietnam

PostPosted: 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
View user's profile Send private message Visit poster's website Yahoo Messenger 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
phantrongnghia


Joined: 24 Apr 2006
Posts: 205
Location: Hanoi,Vietnam

PostPosted: 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
View user's profile Send private message Visit poster's website Yahoo Messenger 
phantrongnghia


Joined: 24 Apr 2006
Posts: 205
Location: Hanoi,Vietnam

PostPosted: 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
View user's profile Send private message Visit poster's website Yahoo Messenger 
mydomain2

Joined: 03 Nov 2012
Posts: 2

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

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
[ Time: 0.0712s ][ Queries: 13 (0.0042s) ][ GZIP on ]