Add text shadows to the vte terminal emulation widget used in GNOME Terminal.
This is only implemented in the Xft backend (VTE has 4 more: FT2, GL, Pango,
PangoX).

Patch generated by Marius Gedminas <mgedmin@b4net.lt>
on Sun Sep 11 18:44:19 EEST 2005.

diff -up ./src/vtexft.c.orig ./src/vtexft.c
--- ./src/vtexft.c.orig	2005-09-11 18:43:48.000000000 +0300
+++ ./src/vtexft.c	2005-09-11 18:42:54.000000000 +0300
@@ -723,6 +723,27 @@ _vte_xft_draw_text(struct _vte_draw *dra
 		}
 	}
 	if (j > 0) {
+	    /* HACK: drop shadow */
+		rcolor.red = 0;
+		rcolor.green = 0;
+		rcolor.blue = 0;
+		rcolor.alpha = 0x7777;
+		if (XftColorAllocValue(data->display, data->visual,
+				       data->colormap, &rcolor, &ftcolor)) {
+			int t;
+			for (t = 0; t < j; t++) {
+			    specs[t].x++;
+			    specs[t].y++;
+			}
+			_vte_xft_drawcharfontspec(data->draw, &ftcolor,
+						  specs, j);
+			for (t = 0; t < j; t++) {
+			    specs[t].x--;
+			    specs[t].y--;
+			}
+			XftColorFree(data->display, data->visual,
+				     data->colormap, &ftcolor);
+		}
 		rcolor.red = color->red;
 		rcolor.green = color->green;
 		rcolor.blue = color->blue;

diff -up ./debian/changelog.orig ./debian/changelog
--- ./debian/changelog.orig	2005-09-11 18:43:56.000000000 +0300
+++ ./debian/changelog	2005-09-11 18:42:39.000000000 +0300
@@ -1,3 +1,9 @@
+vte (1:0.11.15-0ubuntu2mg1) breezy; urgency=low
+
+  * Added primitive drop shadows for the Xft backend.
+
+ -- Marius Gedminas <mgedmin@b4net.lt>  Sun, 11 Sep 2005 18:41:37 +0300
+
 vte (1:0.11.15-0ubuntu2) breezy; urgency=low
 
   * Rebuild to drop the glitz mention.

