1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

disable text optimization by default

This commit is contained in:
Lu Wang 2013-05-06 11:08:29 +08:00
parent 88ca4a1502
commit 6ff5b8be32
2 changed files with 2 additions and 2 deletions

View File

@ -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. If set to 0, pdf2htmlEX would try its best to balance the two methods above.
.TP .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. 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 .SS PDF Protection

View File

@ -104,7 +104,7 @@ void parse_options (int argc, char **argv)
.add("font-size-multiplier", &param.font_size_multiplier, 4.0, "a value greater than 1 increases the rendering accuracy") .add("font-size-multiplier", &param.font_size_multiplier, 4.0, "a value greater than 1 increases the rendering accuracy")
.add("space-as-offset", &param.space_as_offset, 0, "treat space characters as offsets") .add("space-as-offset", &param.space_as_offset, 0, "treat space characters as offsets")
.add("tounicode", &param.tounicode, 0, "how to handle ToUnicode CMaps (0=auto, 1=force, -1=ignore)") .add("tounicode", &param.tounicode, 0, "how to handle ToUnicode CMaps (0=auto, 1=force, -1=ignore)")
.add("optimize-text", &param.optimize_text, 1, "try to reduce the number of HTML elements used for text") .add("optimize-text", &param.optimize_text, 0, "try to reduce the number of HTML elements used for text")
// encryption // encryption
.add("owner-password,o", &param.owner_password, "", "owner password (for encrypted files)", nullptr, true) .add("owner-password,o", &param.owner_password, "", "owner password (for encrypted files)", nullptr, true)