mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
disable text optimization by default
This commit is contained in:
parent
88ca4a1502
commit
6ff5b8be32
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user