1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-21 20:50:07 +00:00
This commit is contained in:
Lu Wang 2012-09-24 00:05:19 +08:00
parent 4c04f4fa3f
commit b02d4ea687
2 changed files with 1 additions and 7 deletions

6
TODO
View File

@ -1,13 +1,7 @@
scale
ttfautohint
multi font in the same line (IE)
intermediate asc/des
fix auto hint
bug found in baidu(ubuntu...), bug_chn
precise link dest

View File

@ -413,7 +413,7 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
if(param->external_hint_tool != "")
{
rename(fn.c_str(), tmp_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)
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());
}