summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-doc.c')
-rw-r--r--source/html/html-doc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/html/html-doc.c b/source/html/html-doc.c
index 80bc98b3..55a743ed 100644
--- a/source/html/html-doc.c
+++ b/source/html/html-doc.c
@@ -1,9 +1,5 @@
#include "mupdf/html.h"
-#define DEFW (450)
-#define DEFH (600)
-#define DEFEM (12)
-
typedef struct html_document_s html_document;
typedef struct html_page_s html_page;
@@ -109,8 +105,6 @@ htdoc_open_document_with_stream(fz_context *ctx, fz_stream *file)
doc->box = fz_parse_html(ctx, doc->set, doc->zip, ".", buf, NULL);
fz_drop_buffer(ctx, buf);
- htdoc_layout(ctx, (fz_document*)doc, DEFW, DEFH, DEFEM);
-
return (fz_document*)doc;
}
@@ -137,8 +131,6 @@ htdoc_open_document(fz_context *ctx, const char *filename)
doc->box = fz_parse_html(ctx, doc->set, doc->zip, ".", buf, NULL);
fz_drop_buffer(ctx, buf);
- htdoc_layout(ctx, (fz_document*)doc, DEFW, DEFH, DEFEM);
-
return (fz_document*)doc;
}