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

handle subtype OpenType for FontFile3, in pdf 1.6

This commit is contained in:
Lu Wang 2015-05-03 18:40:40 +08:00
parent 47f141029c
commit 2a5ce90818

View File

@ -117,6 +117,10 @@ string HTMLRenderer::dump_embedded_font (GfxFont * font, FontInfo & info)
{ {
suffix = ".cid"; suffix = ".cid";
} }
else if (subtype == "OpenType")
{
suffix = ".otf";
}
else else
{ {
cerr << "Unknown subtype: " << subtype << endl; cerr << "Unknown subtype: " << subtype << endl;