We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e60c06f commit 3f231fdCopy full SHA for 3f231fd
1 file changed
src/pdf2htmlEX.cc
@@ -334,6 +334,13 @@ void check_param()
334
}
335
#endif
336
337
+ if (param.output_filename == "-" &&
338
+ (!param.embed_css || !param.embed_font || !param.embed_image || !param.embed_javascript
339
+ || !param.embed_outline || !param.embed_external_font)) {
340
+ cerr << "output redirected to STDOUT, but some html parts set to be not embededed." << endl;
341
+ exit(EXIT_FAILURE);
342
+ }
343
+
344
if((param.font_format == "ttf") && (param.external_hint_tool == ""))
345
{
346
cerr << "Warning: No hint tool is specified for truetype fonts, the result may be rendered poorly in some circumstances." << endl;
0 commit comments