*** empty log message ***
authorroot <root>
Sat, 4 Dec 2004 02:55:23 +0000 (02:55 +0000)
committerroot <root>
Sat, 4 Dec 2004 02:55:23 +0000 (02:55 +0000)
doc/rxvt-unicode.spec
src/rxvtfont.C

index 4db9124..758af4a 100644 (file)
@@ -1,5 +1,5 @@
 Name: rxvt-unicode
-Version: 4.1
+Version: 4.2
 Release: 1
 Summary: rxvt-unicode is an unicode version of rxvt
 License: GPL
@@ -43,6 +43,10 @@ tic -o $RPM_BUILD_ROOT/%_datadir/terminfo doc/etc/rxvt-unicode.terminfo
 %{_mandir}/man7/*
 %{_datadir}/terminfo/r/*
 
+
 %changelog
+* Mon Dec 01 2004 vherva@babbage 4.2-1
+- 4.2
+
 * Mon Nov 27 2004 vherva@babbage 4.1-1
 - 4.1
index 3f602fe..b6c3452 100644 (file)
@@ -345,9 +345,14 @@ rxvt_font_default::draw (rxvt_drawable &d, int x, int y,
           uint32_t *a = linedraw_command + (offs >> 4);
           uint32_t *b = a + (offs & 15);
 
-          int W = r->TermWin.fwidth * wcwidth (t);
+          int W = r->TermWin.fwidth;
           int H = r->TermWin.fheight;
 
+          // support double-width (but not more) graphics chars
+          // TODO: do this outside the if/elsif.. statement for all cases
+          if (len && *text == NOCHAR)
+            W += r->TermWin.fwidth;
+
           int x_[16];
           int y_[16];