mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 17:48:38 +00:00
dump raw font in debug mode
This commit is contained in:
parent
5f5747738f
commit
f2cc4b4bd1
|
@ -417,6 +417,14 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
|
||||||
add_tmp_file(other_tmp_fn);
|
add_tmp_file(other_tmp_fn);
|
||||||
|
|
||||||
ffw_save(cur_tmp_fn.c_str());
|
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();
|
ffw_close();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user