1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
This commit is contained in:
Lu Wang 2012-09-24 02:28:53 +08:00
parent a4f100a0af
commit b8dff4ea0d
3 changed files with 5 additions and 6 deletions

View File

@ -2,10 +2,9 @@ Latest v0.4
* external hint tool * external hint tool
* (should) do not freeze Firefox * (should) do not freeze Firefox
* [Experimental] --auto-hint, good for Chrome * --auto-hint, good for Chrome
* many fixes for IE * many fixes for IE
(Why no fix for Opera? Because everything has been fine) * adjust widths of fonts according to PDF
* [Experimental] adjust widths of fonts according to PDF
v0.3 v0.3

View File

@ -97,7 +97,7 @@ For some versions of Firefox, however, there will be a problem when the font siz
.B --auto-hint <0|1> (Default: 0) .B --auto-hint <0|1> (Default: 0)
If set to 1, hints will be generated for the fonts using fontforge. If set to 1, hints will be generated for the fonts using fontforge.
This may be overrided by --external-hint-tool. This switch is experimental which may break other things. This may be overrided by --external-hint-tool.
.TP .TP
.B --tounicode <-1|0|1> (Default: 0) .B --tounicode <-1|0|1> (Default: 0)
A ToUnicode map may be provided for each font in PDF which indicates the 'meaning' of the characters. However often there is better "ToUnicode" info in Type 0/1 fonts, and sometimes the ToUnicode map provided is wrong. A ToUnicode map may be provided for each font in PDF which indicates the 'meaning' of the characters. However often there is better "ToUnicode" info in Type 0/1 fonts, and sometimes the ToUnicode map provided is wrong.

View File

@ -74,14 +74,14 @@ void parse_options (int argc, char **argv)
.add("veps", &param.v_eps, 1.0, "max tolerated vertical 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("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("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, "[Experimental] Whether to generate hints for fonts") .add("auto-hint", &param.auto_hint, 0, "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("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("space-as-offset", &param.space_as_offset, 0, "treat space characters as offsets")
.add("css-filename", &param.css_filename, "", "Specify the file name of the generated css file") .add("css-filename", &param.css_filename, "", "Specify the file name of the generated css file")
.add("font-suffix", &param.font_suffix, ".ttf", "suffix for extracted font files") .add("font-suffix", &param.font_suffix, ".ttf", "suffix for extracted font files")
.add("font-format", &param.font_format, "opentype", "format for extracted font files") .add("font-format", &param.font_format, "opentype", "format for extracted font files")
.add("external-hint-tool", &param.external_hint_tool, "", "external tool for hintting fonts") .add("external-hint-tool", &param.external_hint_tool, "", "external tool for hintting fonts.(overrides --auto-hint)")
.add("debug", &param.debug, 0, "output debug information") .add("debug", &param.debug, 0, "output debug information")
.add("clean-tmp", &param.clean_tmp, 1, "clean temporary files after processing") .add("clean-tmp", &param.clean_tmp, 1, "clean temporary files after processing")