1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

still working...

This commit is contained in:
Lu Wang 2012-08-27 07:10:21 +08:00
parent 09cf5f6d6a
commit 0103e02d70

View File

@ -156,7 +156,6 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
maxcode = 0xff; maxcode = 0xff;
if(suffix == ".ttf") if(suffix == ".ttf")
{ {
/*
script_fout << "Reencode(\"original\")" << endl; script_fout << "Reencode(\"original\")" << endl;
int buflen; int buflen;
char * buf = nullptr; char * buf = nullptr;
@ -171,12 +170,14 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
} }
gfree(buf); gfree(buf);
} }
*/ }
else if (suffix == ".cff")
{
script_fout << "Reencode(\"unicode\")" << endl;
} }
else else
{ {
// 1 pfa do not need this // pass
// script_fout << "Reencode(\"unicode\")" << endl;
} }
} }
else else