summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-05-11 17:15:11 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-05-15 16:12:23 +0200
commita399aa40d960ca8414870bc9e5c4125ca0b20344 (patch)
tree3a8f43a8aa056042285dab48f8fcefa7e4616c9b /include
parent85330edd0bacfaf9a83b23e828cf84a4028f3c16 (diff)
downloadmupdf-a399aa40d960ca8414870bc9e5c4125ca0b20344.tar.xz
epub: Handle white-space property.
Add 'break' nodes to flow list for forced line breaks.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/html.h4
1 files changed, 3 insertions, 1 deletions
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;
};