1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

better support for CID truetype font

This commit is contained in:
Lu Wang 2012-08-21 21:31:26 +02:00
parent db3a54159e
commit 58beb7a00b

View File

@ -155,7 +155,8 @@ void HTMLRenderer::install_embedded_font(GfxFont * font, const string & suffix,
GfxCIDFont * _font = dynamic_cast<GfxCIDFont*>(font);
// code2GID has been stored for embedded CID fonts
code2GID = _font->getCodeToGIDMap(nullptr, &code2GID_len);
code2GID = _font->getCIDToGID();
code2GID_len = _font->getCIDToGIDLen();
}
}