1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-02 16:25:41 +00:00

show hints for font hinting tool

This commit is contained in:
Lu Wang 2013-10-03 15:19:41 +08:00
parent 426958072b
commit 0ba379cbdb
2 changed files with 6 additions and 1 deletions

View File

@ -168,7 +168,7 @@ This may be preceded by --external-hint-tool.
.B --external-hint-tool <tool> (Default: <none>)
If specified, the tool will be called in order to enhanced hinting for fonts, this will precede --auto-hint.
The tool will be called as '<tool> <in.suffix> <out.suffix>', where suffix will be the same as specified for --font-suffix.
The tool will be called as '<tool> <in.suffix> <out.suffix>', where suffix will be the same as specified for --font-format.
.TP
.B --stretch-narrow-glyph <0|1> (Default: 0)

View File

@ -307,6 +307,11 @@ void check_param()
exit(EXIT_FAILURE);
}
#endif
if((param.font_format == "ttf") && (param.external_hint_tool == ""))
{
cerr << "Warning: No hint tool is specified for truetype fonts, the result may be rendered poorly in some circumstances." << endl;
}
}
int main(int argc, char **argv)