File: README.I18N

package info (click to toggle)
gv 1:3.7.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,744 kB
  • sloc: ansic: 31,837; sh: 3,914; makefile: 317; perl: 226
file content (64 lines) | stat: -rw-r--r-- 1,872 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
60
61
62
63
64
GV I18N Fontset Patch
			Keio University in Japan
			1998 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>

This patch make gv to support UTF8.

Note that Xaw3d version 1.5E or 1.6.1 or newer is required for UTF8-Support.

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

1. include the resource

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

2. The configure parameter --enable-international will turn on 
   international by default.

   
      

NEED:
	Xaw3d 1.4, 1.5 and 1.6.0 and 1.6.1 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;
 
     /*

A collection of Xaw3D 1.5E and 1.6.x bug fixing patches can be found on
git://gitorious.org/xaw3d/xaw3d.git.
For Xaw3d 1.5E take the master branch, for libXaw3d 1.6.x take the
"v1.6-branch", "v1.6.1-branch" and so on.