diff options
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/mudraw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index 194f0386..339e49ed 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -533,10 +533,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in fz_try(ctx) { fz_stext_options stext_options; - if (list) - fz_bound_display_list(ctx, list, &mediabox); - else - fz_bound_page(ctx, page, &mediabox); + stext_options.flags = (output_format == OUT_HTML) ? FZ_STEXT_PRESERVE_IMAGES : 0; text = fz_new_stext_page(ctx, &mediabox); dev = fz_new_stext_device(ctx, sheet, text, &stext_options); |