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

multiplier->8

This commit is contained in:
Lu Wang 2012-09-23 00:38:34 +08:00
parent b41d7351e5
commit 9ed1931caa
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ pdf2htmlEX would try to optimize the generated HTML file moving Text within this
.B --space-threshold <ratio> (Default: 1.0/6)
pdf2htmlEX would insert a whitespace character ' ' if the distance between two consecutive letters in the same line is wider than ratio * font_size.
.TP
.B --font-size-multiplier <ratio> (Default: 3.0)
.B --font-size-multiplier <ratio> (Default: 8.0)
Many web browsers limit the minimum font size, and many would round the given font size, which results in incorrect rendering.
Specify a ratio greater than 1 would resolve this issue, however it might freeze some browsers.

View File

@ -73,7 +73,7 @@ void parse_options (int argc, char **argv)
.add("heps", &param.h_eps, 1.0, "max tolerated horizontal offset (in pixels)")
.add("veps", &param.v_eps, 1.0, "max tolerated vertical offset (in pixels)")
.add("space-threshold", &param.space_threshold, (1.0/8), "distance no thiner than (threshold * em) will be considered as a space character")
.add("font-size-multiplier", &param.font_size_multiplier, 3.0, "setting a value greater than 1 would increase the rendering accuracy")
.add("font-size-multiplier", &param.font_size_multiplier, 8.0, "setting a value greater than 1 would increase the rendering accuracy")
.add("auto-hint", &param.auto_hint, 0, "[Experimental] Whether to generate hints for fonts")
.add("tounicode", &param.tounicode, 0, "Specify how to deal with ToUnicode map, 0 for auto, 1 for forced, -1 for disabled")
.add("space-as-offset", &param.space_as_offset, 0, "treat space characters as offsets")