1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
This commit is contained in:
Lu Wang 2012-08-10 02:25:49 +08:00
parent d53e77a6f3
commit 4fa6a89925

View File

@ -440,7 +440,7 @@ long long HTMLRenderer::install_font(GfxFont * font)
void HTMLRenderer::install_embedded_font (GfxFont * font, long long fn_id)
{
//generate script for fontforge
// fontforge doesn't fully support ToUnicode CMap, so we have to generate the encoding for fontforge
fontscript_fout << boost::format("Open(\"%1%(%2%)\",1)") % param->input_filename % font->getName()->getCString() << endl;
if(font->hasToUnicodeCMap() && (font->getType() == fontTrueType))
{