diff --git a/pdf2htmlEX.1.in b/pdf2htmlEX.1.in index 319dc5c..4f31292 100644 --- a/pdf2htmlEX.1.in +++ b/pdf2htmlEX.1.in @@ -209,7 +209,7 @@ If set to -1, a customized map is used such that rendering will be correct in HT If set to 0, pdf2htmlEX would try its best to balance the two methods above. .TP -.B --optimize-text <0|1> (Deafult: 1) +.B --optimize-text <0|1> (Deafult: 0) If set to 1, pdf2htmlEX will try to reduce the number of HTML elements used for text. Turn it off if anything goes wrong. .SS PDF Protection diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 263a9e1..c2875cc 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -104,7 +104,7 @@ void parse_options (int argc, char **argv) .add("font-size-multiplier", ¶m.font_size_multiplier, 4.0, "a value greater than 1 increases the rendering accuracy") .add("space-as-offset", ¶m.space_as_offset, 0, "treat space characters as offsets") .add("tounicode", ¶m.tounicode, 0, "how to handle ToUnicode CMaps (0=auto, 1=force, -1=ignore)") - .add("optimize-text", ¶m.optimize_text, 1, "try to reduce the number of HTML elements used for text") + .add("optimize-text", ¶m.optimize_text, 0, "try to reduce the number of HTML elements used for text") // encryption .add("owner-password,o", ¶m.owner_password, "", "owner password (for encrypted files)", nullptr, true)