diff --git a/pdf2htmlEX.1.in b/pdf2htmlEX.1.in index d93b583..f426509 100644 --- a/pdf2htmlEX.1.in +++ b/pdf2htmlEX.1.in @@ -118,7 +118,7 @@ Output in fallback mode, for better accuracy and browser compatibility, but the Whether to process non-text objects (as images) .TP -.B --process-outline <0|1> (Default: 0) +.B --process-outline <0|1> (Default: 1) Whether to show outline in the generated HTML .SS Fonts @@ -132,8 +132,9 @@ There are several base font defined in PDF standards, which are supposed to be p If this switch is on, local matched font will be used and embedded; otherwise only font names are exported such that web browsers may try to find proper fonts themselves. .TP -.B --embed-external-font <0|1> (Default: 0) -Similar as above but for non-base fonts. +.B --embed-external-font <0|1> (Default: 1) +Similar as `--embed-base-font` but for non-base fonts. If this switch is off, the corresponding fonts must be installed in the client side. + .TP .B --font-suffix (Default: .ttf) diff --git a/src/pdf2htmlEX.cc b/src/pdf2htmlEX.cc index 6afd395..d2cdccf 100644 --- a/src/pdf2htmlEX.cc +++ b/src/pdf2htmlEX.cc @@ -81,7 +81,7 @@ void parse_options (int argc, char **argv) // fonts .add("embed-base-font", ¶m.embed_base_font, 1, "embed local match for standard 14 fonts") - .add("embed-external-font", ¶m.embed_external_font, 0, "embed local match for external fonts") + .add("embed-external-font", ¶m.embed_external_font, 1, "embed local match for external fonts") .add("font-suffix", ¶m.font_suffix, ".ttf", "suffix for embedded font files (.ttf,.otf,.woff,.svg)") .add("decompose-ligature", ¶m.decompose_ligature, 0, "decompose ligatures, such as \uFB01 -> fi") .add("remove-unused-glyph", ¶m.remove_unused_glyph, 1, "remove unused glyphs in embedded fonts")