From a399aa40d960ca8414870bc9e5c4125ca0b20344 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 11 May 2015 17:15:11 +0200 Subject: epub: Handle white-space property. Add 'break' nodes to flow list for forced line breaks. --- include/mupdf/html.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/mupdf/html.h b/include/mupdf/html.h index 8d649ec9..557809df 100644 --- a/include/mupdf/html.h +++ b/include/mupdf/html.h @@ -165,6 +165,7 @@ enum { FLOW_WORD, FLOW_GLUE, + FLOW_BREAK, FLOW_IMAGE, }; @@ -173,7 +174,8 @@ struct fz_html_flow_s int type; float x, y, w, h, em; fz_css_style *style; - char *text, *broken_text; + char *text; + int expand; fz_image *image; fz_html_flow *next; }; -- cgit v1.2.3