if (OS.GTK_VERSION >= OS.VERSION(2, 4, 0)) { OS.pango_layout_set_auto_dir(layout, false); }
void init(Drawable drawable, GCData data, int /*long*/ gdkGC) {	int /*long*/ context = OS.gdk_pango_context_get();	if (context == 0) SWT.error(SWT.ERROR_NO_HANDLES);	OS.pango_context_set_language(context, OS.gtk_get_default_language());	OS.pango_context_set_base_dir(context, OS.PANGO_DIRECTION_LTR);	OS.gdk_pango_context_set_colormap(context, OS.gdk_colormap_get_system());	data.context = context;		int /*long*/ layout = OS.pango_layout_new(context);	if (layout == 0) SWT.error(SWT.ERROR_NO_HANDLES);	data.layout = layout;	GdkColor foreground = data.foreground;	if (foreground != null) OS.gdk_gc_set_foreground(gdkGC, foreground);	GdkColor background = data.background;	if (background != null) OS.gdk_gc_set_background(gdkGC, background);		int /*long*/ font = data.font;	if (font != 0) OS.pango_layout_set_font_description(layout, font);	Image image = data.image;	if (image != null) {		image.memGC = this;		/*		 * The transparent pixel mask might change when drawing on		 * the image.  Destroy it so that it is regenerated when		 * necessary.		 */		if (image.transparentPixel != -1) image.destroyMask();	}	this.drawable = drawable;	this.data = data;	handle = gdkGC;}