Xeukleides port to Win32: problems with text widget

Christian Obrecht <[email protected]> Wed, 26 Mar 2003 22:54:46 +0100
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Hello,

I'm the creator of Eukleides, a Euclidean geometry drawing language, and
of `xeukleides', a GTK+ 1.2 based front-end to this language. (The home
page is located at : <http://perso.wanadoo.fr/obrecht/>.) The program
has a viewing mode and an edit mode, using the GTK+ text widget.

Recently, Peter Bartke tried to port it using GTK+ 1.3 for Windows. The
result is quite functional and needed very few modifications. The
remaining problems are related to non-ASCII chars:

* The program is able to load iso 8859-1 encoded Eukleides scripts (I
added a call to `g_locale_to_utf8' in order to avoid problems with
`gtk_text_insert'), but when I move the cursor over some non-ASCII
chars, the text gets broken.

* The same problem occurs when I try to insert some non-ASCII
chars with the keyboard.

Does anybody know a way to fix this kind of problem?

Christian Obrecht