README.I18N 1.67 KB
Newer Older
1 2 3 4 5 6
GV I18N Fontset Patch
			Keio University in Japan
			1998 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>

This patch make gv to support UTF8.

7
Note that Xaw3d version 1.5E is required for UTF8-Support.
8

9 10 11 12
Note that UTF8-Mode is currently turned off by default. 
To enable it, you have two possibilities:

1. include the resource
13 14 15

      GV*international:		True
      
16
   e. g. in ~/.gv
17

18 19 20 21
2. The configure parameter --enable-international will turn on 
   international by default.

   
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
      

NEED:
	Xaw3d 1.4, 1.5 has a fatal bug in MultiSrc.c line 735-740.
	This GV's patch need Xaw3d library patched follow:

*** xc/lib/Xaw3d/MultiSrc.c	Fri May 15 04:03:23 1998
--- xc-fix/lib/Xaw3d/MultiSrc.c	Fri Dec 18 09:59:52 1998
@@ -736,6 +736,7 @@
   
   if ( string_set || (old_src->multi_src.type != src->multi_src.type) ) {
     RemoveOldStringOrFile(old_src, string_set);
+    src->multi_src.allocated_string = old_src->multi_src.allocated_string;
     file = InitStringOrFile(src, string_set);
 
     /* Load pieces does this logic for us, but it shouldn't.  Its messy.*/



Another bug in Xaw3d will segfault in closing the application. The following
patch will fix it:

--- XawIm.c
+++ XawIm.c
@@ -331,12 +331,12 @@ static void DestroyAllIM( ve )
     /*
      * Close Input Method
      */
-    CloseIM(ve);
     if (!XFindContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext,
 		      (XPointer*)&contextErrData)) {
 	if (contextErrData) XtFree((char *)contextErrData);
     }
     XDeleteContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext);
+    CloseIM(ve);
     ve->im.xim = NULL;
 
     /*
60 61 62

A collection of Xaw3D 1.5E bug fixing patches can be found on
git://gitorious.org/xaw3d/xaw3d.git.