1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

correct a NULL_FILENAME bug

This commit is contained in:
Lu Wang 2012-08-20 22:50:07 +02:00
parent a17cb3c0e9
commit b40782d800

View File

@ -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)
cerr << "Warning: fontforge failed." << endl;
add_tmp_file("null");
add_tmp_file(NULL_FILENAME);
export_remote_font(fn_id, ".ttf", "truetype", font);
}