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

dump raw font in debug mode

This commit is contained in:
Lu Wang 2012-10-04 22:21:46 +08:00
parent 5f5747738f
commit f2cc4b4bd1

View File

@ -417,6 +417,14 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
add_tmp_file(other_tmp_fn);
ffw_save(cur_tmp_fn.c_str());
if(param->debug)
{
auto fn = str_fmt("%s/__raw_font_%lld%s", param->tmp_dir.c_str(), info.id, param->font_suffix.c_str());
add_tmp_file((char*)fn);
ffw_save((char*)fn);
}
ffw_close();
/*