1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-08 19:00:33 +00:00

best solution so far, need more check of CID fonts

This commit is contained in:
Lu Wang 2012-08-28 00:14:11 +08:00
parent 28eb708339
commit f460476c0f

View File

@ -202,8 +202,6 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
bool use_tounicode = ((suffix == ".ttf") || (param->always_apply_tounicode));
if(use_tounicode)
{
auto ctu = font->getToUnicode();
ofstream map_fout(tmp_dir / (fn + ".encoding"));
@ -246,7 +244,6 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
if(ctu)
ctu->decRefCnt();
}
script_fout << format("Generate(%1%)") % ((param->single_html ? tmp_dir : dest_dir) / (fn+".ttf")) << endl;
if(param->single_html)