1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-03 08:38:39 +00:00
This commit is contained in:
Lu Wang 2012-09-22 16:30:13 +08:00
parent 8020737b82
commit 05680b25ff

View File

@ -400,8 +400,8 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
ffw_save((char*)fn);
ffw_close();
// get accurate ascent/descent
//TODO
//this is for CID fonts
ffw_load_font((char*)fn);
ffw_metric(&info.ascent, &info.descent, &info.em_size);
ffw_save((char*)fn);