mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
disable auto hint by default
This commit is contained in:
parent
7e6c6de1a1
commit
1c48a9a4e1
@ -94,7 +94,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: 1)
|
||||
.B --auto-hint <0|1> (Default: 0)
|
||||
If set to 1, hints will be generated for the fonts.
|
||||
|
||||
This switch is experimental which may break other things.
|
||||
|
@ -310,9 +310,6 @@ void ffw_auto_hint(void)
|
||||
// convert to quadratic
|
||||
if(!(cur_fv->sf->layers[ly_fore].order2))
|
||||
{
|
||||
// for now, disable conversion because it breaks Firefox
|
||||
return;
|
||||
|
||||
SFCloseAllInstrs(cur_fv->sf);
|
||||
SFConvertToOrder2(cur_fv->sf);
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ void parse_options (int argc, char **argv)
|
||||
.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, 3.0, "setting a value greater than 1 would increase the rendering accuracy")
|
||||
.add("auto-hint", ¶m.auto_hint, 1, "[Experimental] Whether to generate hints for fonts")
|
||||
.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