[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GtkRtext version 0.01



I have made available a first version of the Gtk Reflectable text widget 
suitable for inputting hebrew to:

   http://imagic.weizmann.ac.il/~dov/pdarchive/gtkrtext.tgz

Here is the README file:

                               gtkrtext
		      A reflectable widget for gtk
		           Version alpha-0.01
  			      Dov Grobgeld
			        15 Nov 1998
   		        dov@imagic.weizmann.ac.il
         http://imagic.weizmann.ac.il/~dov/pdarchive/gtkrtext.tgz

The gtkrtext widget is a text widget, released under the GNU LPL, with
the capability of "reflecting" the rendered text with respect to the
X-direction. This gives the ability to enter text from
right-to-left. When the direction is flipped the keyboard is mapped to
Hebrew. The widget also provides a push mode in which the keyboard
mapping is enabled and the characters are pushed in front of the
cursor which remains in the same position.

The widget is plug-in compatible with the normal gtk widget. I will discuss
with the gtk developers the option of getting my patches into the main
gtk distribution.

The following two keyboard bindings have been added:

   F10  - Toggle reflection mode
   F9   - Toggle push mode

These bindings should be familiar to any users of my earlier DOS editor
HED.

To compile the test program you need a recent version of gtk from the
gtk-1.1 CVS. Perhaps it is possible to use a "released" 1.1 version. I don't
know, and would very much appreciate to hear if it works (so I can update
this documentation :-). Change the makefile to reflect your paths and make.
You might have to change LD_LIBRARY_PATH to point to your gnome 1.1 libraries
to be able to run.

The testtextrc file chooses the Hebrew font heb8x13 which is part of
the standard X11 font set, but any other iso8859-8 font should work.

Enjoy and send in your comments!
Dov