mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
check ttfautohint failure
This commit is contained in:
parent
c393c1b206
commit
4c04f4fa3f
@ -413,7 +413,10 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
|
||||
if(param->external_hint_tool != "")
|
||||
{
|
||||
rename(fn.c_str(), tmp_fn.c_str());
|
||||
system((char*)str_fmt("%s %s %s", param->external_hint_tool.c_str(), tmp_fn.c_str(), fn.c_str()));
|
||||
if(system((char*)str_fmt("%s %s %s", param->external_hint_tool.c_str(), tmp_fn.c_str(), fn.c_str())) != 0)
|
||||
{
|
||||
rename(tmp_fn.c_str(), fn.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user