summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-04-06 00:37:33 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-04-06 00:58:04 +0200
commit3939a49a37b5c05002e9aa8e9526d3de9307f423 (patch)
tree0c1176078758b1c238b89bd191ea65469f2a3489 /include
parent935f1ba5c2a4c67d98658d72322ae11402d380d0 (diff)
downloadmupdf-3939a49a37b5c05002e9aa8e9526d3de9307f423.tar.xz
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.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/html.h4
1 files changed, 2 insertions, 2 deletions
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;