From 72e010acf23ad9e1db17adf5f99ec3b08b3b61d1 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Thu, 7 Mar 2013 09:37:27 +0800 Subject: [PATCH] use cropbox by default --- src/pdf2htmlEX.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 3eff7cf..471c0e9 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -63,7 +63,7 @@ void parse_options (int argc, char **argv) .add("zoom", ¶m.zoom, 0, "zoom ratio", nullptr, true) .add("fit-width", ¶m.fit_width, 0, "fit width to pixels", nullptr, true) .add("fit-height", ¶m.fit_height, 0, "fit height to pixels", nullptr, true) - .add("use-cropbox", ¶m.use_cropbox, 0, "use CropBox instead of MediaBox") + .add("use-cropbox", ¶m.use_cropbox, 1, "use CropBox instead of MediaBox") .add("hdpi", ¶m.h_dpi, 144.0, "horizontal resolution for graphics in DPI") .add("vdpi", ¶m.v_dpi, 144.0, "vertical resolution for graphics in DPI")