1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-05 01:28:39 +00:00

embed-exteranl-font is on by default

This commit is contained in:
Lu Wang 2013-04-30 15:58:26 +08:00
parent dccd5a0675
commit e65791e5ae
2 changed files with 5 additions and 4 deletions

View File

@ -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 <suffix> (Default: .ttf)

View File

@ -81,7 +81,7 @@ void parse_options (int argc, char **argv)
// fonts
.add("embed-base-font", &param.embed_base_font, 1, "embed local match for standard 14 fonts")
.add("embed-external-font", &param.embed_external_font, 0, "embed local match for external fonts")
.add("embed-external-font", &param.embed_external_font, 1, "embed local match for external fonts")
.add("font-suffix", &param.font_suffix, ".ttf", "suffix for embedded font files (.ttf,.otf,.woff,.svg)")
.add("decompose-ligature", &param.decompose_ligature, 0, "decompose ligatures, such as \uFB01 -> fi")
.add("remove-unused-glyph", &param.remove_unused_glyph, 1, "remove unused glyphs in embedded fonts")