From a1fe5cf97560fa29bfc44a796bd03ee148f9d942 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 10 Dec 2006 03:07:00 +0200 Subject: [PATCH] Bug 826, UTF-8 set_hline: Don't skip the character after double-cell. I do not fully understand this code, but I am sure skipping characters like this is a bug, and correcting it seems to fix bug 826 (too small table for double-cell characters). I don't see any similar bugs in other parts of set_hline. The patch is from bug 826, comment 4, attachment 308. The warning there about unicode_to_cell(UCS_NO_CHAR) still applies but this patch does not make the situation worse. I have logged a separate bug 901 about those calls. --- src/document/html/renderer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index b80e2d63..0108f8ba 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -507,7 +507,6 @@ good_char: x++; part->spaces[x] = 0; part->char_width[x] = 0; - data = utf8_to_unicode(&chars, end); } if (data == UCS_NO_CHAR) { /* this is at the end only */