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

auto-hint is now default

This commit is contained in:
Lu Wang 2012-11-29 21:38:53 +08:00
parent e534298e1b
commit 36a340ecf9
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ 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 --auto-hint <0|1> (Default: 0)
.B --auto-hint <0|1> (Default: 1)
If set to 1, hints will be generated for the fonts using fontforge.
This may be preceded by --external-hint-tool.

View File

@ -79,7 +79,7 @@ void parse_options (int argc, char **argv)
.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, 4.0, "setting a value greater than 1 would increase the rendering accuracy")
.add("auto-hint", &param.auto_hint, 0, "Whether to generate hints for fonts")
.add("auto-hint", &param.auto_hint, 1, "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")
.add("stretch-narrow-glyph", &param.stretch_narrow_glyph, 0, "stretch narrow glyphs instead of padding space")