1 diff -urNd ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkdrawable-x11.c gtk+-2.6.0/gdk/x11/gdkdrawable-x11.c
2 --- ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkdrawable-x11.c 2004-11-30 14:57:14 +00:00
3 +++ gtk+-2.6.0/gdk/x11/gdkdrawable-x11.c 2005-01-02 15:38:06 +00:00
5 GDK_GC_GET_XGC (gc), x, y, (XChar2b *) text, text_length / 2);
9 else if (font->type == GDK_FONT_FONTSET)
11 XFontSet fontset = (XFontSet) GDK_FONT_XFONT (font);
12 XmbDrawString (xdisplay, impl->xid,
13 fontset, GDK_GC_GET_XGC (gc), x, y, text, text_length);
17 g_error("undefined font type\n");
20 GDK_GC_GET_XGC (gc), x, y, text_8bit, text_length);
24 else if (font->type == GDK_FONT_FONTSET)
26 if (sizeof(GdkWChar) == sizeof(wchar_t))
33 g_error("undefined font type\n");
35 diff -urNd ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkfont-x11.c gtk+-2.6.0/gdk/x11/gdkfont-x11.c
36 --- ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkfont-x11.c 2004-08-26 01:23:46 +01:00
37 +++ gtk+-2.6.0/gdk/x11/gdkfont-x11.c 2005-01-02 15:45:39 +00:00
39 width = XTextWidth16 (xfont, (XChar2b *) text, text_length / 2);
43 case GDK_FONT_FONTSET:
44 fontset = (XFontSet) private->xfont;
45 width = XmbTextEscapement (fontset, text, text_length);
56 case GDK_FONT_FONTSET:
57 if (sizeof(GdkWChar) == sizeof(wchar_t))
69 *descent = overall.descent;
72 case GDK_FONT_FONTSET:
73 fontset = (XFontSet) private->xfont;
74 XmbTextExtents (fontset, text, text_length, &ink, &logical);
77 *descent = ink.y + ink.height;
84 *descent = overall.descent;
88 case GDK_FONT_FONTSET:
89 fontset = (XFontSet) private->xfont;
93 *descent = ink.y + ink.height;
99 diff -urNd ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkim-x11.c gtk+-2.6.0/gdk/x11/gdkim-x11.c
100 --- ../gtk+-2.6.0-r2/gtk+-2.6.0/gdk/x11/gdkim-x11.c 2004-11-17 00:55:10 +00:00
101 +++ gtk+-2.6.0/gdk/x11/gdkim-x11.c 2005-01-02 15:42:04 +00:00
104 _gdk_x11_initialize_locale (void)
108 gchar *current_locale;
109 static char *last_locale = NULL;
112 g_message ("%s multi-byte string functions.",
113 gdk_use_mb ? "Using" : "Not using"));
127 GdkDisplay *display = find_a_display ();
138 gdk_mbstowcs (GdkWChar *dest, const gchar *src, gint dest_max)
143 GdkDisplay *display = find_a_display ();