mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 09:38:40 +00:00
js
This commit is contained in:
parent
9ed1931caa
commit
b6ac8eb8f0
|
@ -10,8 +10,7 @@
|
|||
* Copyright 2012 Lu Wang <coolwanglu@gmail.com>
|
||||
*/
|
||||
|
||||
var pdf2htmlEX = (function(){
|
||||
return {
|
||||
var pdf2htmlEX = {
|
||||
pages : [],
|
||||
page_boxes : [],
|
||||
container : null,
|
||||
|
@ -173,5 +172,4 @@ var pdf2htmlEX = (function(){
|
|||
},
|
||||
|
||||
__last_member__ : 'no comma' /*,*/
|
||||
}.init();
|
||||
})();
|
||||
}.init();
|
||||
|
|
|
@ -73,7 +73,7 @@ void parse_options (int argc, char **argv)
|
|||
.add("heps", ¶m.h_eps, 1.0, "max tolerated horizontal offset (in pixels)")
|
||||
.add("veps", ¶m.v_eps, 1.0, "max tolerated vertical offset (in pixels)")
|
||||
.add("space-threshold", ¶m.space_threshold, (1.0/8), "distance no thiner than (threshold * em) will be considered as a space character")
|
||||
.add("font-size-multiplier", ¶m.font_size_multiplier, 8.0, "setting a value greater than 1 would increase the rendering accuracy")
|
||||
.add("font-size-multiplier", ¶m.font_size_multiplier, 4.0, "setting a value greater than 1 would increase the rendering accuracy")
|
||||
.add("auto-hint", ¶m.auto_hint, 0, "[Experimental] Whether to generate hints for fonts")
|
||||
.add("tounicode", ¶m.tounicode, 0, "Specify how to deal with ToUnicode map, 0 for auto, 1 for forced, -1 for disabled")
|
||||
.add("space-as-offset", ¶m.space_as_offset, 0, "treat space characters as offsets")
|
||||
|
|
Loading…
Reference in New Issue
Block a user