From 71d036f72b1c7fad22f326a93e4fe087edfcc7aa Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 5 May 2015 14:27:31 +0200 Subject: epub: Fix list mark horizontal placement calculation. --- source/html/html-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/html') diff --git a/source/html/html-layout.c b/source/html/html-layout.c index bccefed4..a64fccc4 100644 --- a/source/html/html-layout.c +++ b/source/html/html-layout.c @@ -908,7 +908,7 @@ static void draw_list_mark(fz_context *ctx, fz_html *box, float page_top, float } s = buf; - x = box->x - box->padding[L] - box->border[L] - box->margin[L] - w; + x = box->x - w; while (*s) { s += fz_chartorune(&c, s); -- cgit v1.2.3