-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 029a8dc6010e00f38d4c1625e79d4995a85d9624:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 029a8dc6010e00f38d4c1625e79d4995a85d9624
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat Dec 4 02:56:06 2004 +0000

    *** empty log message ***

diff --git a/src/rxvtfont.C b/src/rxvtfont.C

index 3f602fe7a3aa53cde1c5bd477498b4b875c602b2..

index ..b6c3452fd67b64c613fdf964017a19be5292bf41 100644

--- a/src/rxvtfont.C
+++ b/src/rxvtfont.C
@@ -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];

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 11:42:14 2024