From 3939a49a37b5c05002e9aa8e9526d3de9307f423 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 6 Apr 2016 00:37:33 +0200 Subject: epub: Handle font-size in nested inline elements. Point to the box struct rather than its style, so we can look at its resolved em size. Also make sure to resolve em sizes for inline boxes. --- include/mupdf/html.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mupdf/html.h b/include/mupdf/html.h index 106fb155..3adbf8e0 100644 --- a/include/mupdf/html.h +++ b/include/mupdf/html.h @@ -222,8 +222,8 @@ struct fz_html_flow_s /* The script detected by the bidi code. */ unsigned int script : 8; - float x, y, w, h, em; - fz_css_style *style; + float x, y, w, h; + fz_html *box; /* for style and em */ union { char *text; fz_image *image; -- cgit v1.2.3