diff options
Diffstat (limited to 'source/html/handler.c')
-rw-r--r-- | source/html/handler.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source/html/handler.c b/source/html/handler.c index 39d5e9c9..77b362d3 100644 --- a/source/html/handler.c +++ b/source/html/handler.c @@ -1,12 +1,5 @@ #include "mupdf/html.h" -struct html_document_s -{ - fz_document super; - fz_context *ctx; - fz_xml *root; -}; - struct html_page_s { }; @@ -28,7 +21,7 @@ html_page * html_load_page(html_document *doc, int number) { printf("html: load page %d\n", number); - return NULL; + return "nothing"; } void @@ -74,6 +67,8 @@ html_open_document_with_stream(fz_context *ctx, fz_stream *file) doc->super.run_page_contents = (void*)html_run_page; doc->super.free_page = (void*)html_free_page; + html_layout_document(doc, 400, 600); + return doc; } |