mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
correct a NULL_FILENAME bug
This commit is contained in:
parent
a17cb3c0e9
commit
b40782d800
@ -194,7 +194,7 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
|
|||||||
if(system((boost::format("fontforge -script %1% 2>%2%") % script_path % (tmp_dir / NULL_FILENAME)).str().c_str()) != 0)
|
if(system((boost::format("fontforge -script %1% 2>%2%") % script_path % (tmp_dir / NULL_FILENAME)).str().c_str()) != 0)
|
||||||
cerr << "Warning: fontforge failed." << endl;
|
cerr << "Warning: fontforge failed." << endl;
|
||||||
|
|
||||||
add_tmp_file("null");
|
add_tmp_file(NULL_FILENAME);
|
||||||
|
|
||||||
export_remote_font(fn_id, ".ttf", "truetype", font);
|
export_remote_font(fn_id, ".ttf", "truetype", font);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user