mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
space-as-offset is off by default
This commit is contained in:
parent
0b2bbbfa2e
commit
c9b05d323f
@ -188,10 +188,10 @@ Specify a ratio greater than 1 would resolve this issue, however it might freeze
|
||||
For some versions of Firefox, however, there will be a problem when the font size is too large, in which case a smaller value should be specified here.
|
||||
|
||||
.TP
|
||||
.B --space-as-offset <0|1> (Default: 1)
|
||||
.B --space-as-offset <0|1> (Default: 0)
|
||||
If set to 1, space characters will be treated as offsets, which allows a better optimization.
|
||||
|
||||
This option may cause problems for PDF files with bad encodings.
|
||||
For PDF files with bad encodings, turning on this option may cause losing characters.
|
||||
|
||||
.TP
|
||||
.B --tounicode <-1|0|1> (Default: 0)
|
||||
|
@ -93,7 +93,7 @@ void parse_options (int argc, char **argv)
|
||||
.add("veps", ¶m.v_eps, 1.0, "vertical threshold for merging text, in pixels")
|
||||
.add("space-threshold", ¶m.space_threshold, (1.0/8), "word break threshold (threshold * em)")
|
||||
.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, 1, "treat space characters as offsets")
|
||||
.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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user