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

updated use of Object reference creator

poppler-0.75.0 has removed the Object(int,int) creator.
From the poppler/PSOutputDev.cc code (around line 2100)
I inferred that the value returned by font->getID() was all
that was needed for the new style Object reference.
This commit is contained in:
stephengaito 2019-09-26 10:28:46 +01:00 committed by GitHub
parent 00480afec5
commit f9fcd7f8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ string HTMLRenderer::dump_embedded_font (GfxFont * font, FontInfo & info)
auto * id = font->getID(); auto * id = font->getID();
Object ref_obj(id->num, id->gen); Object ref_obj(*id);
//ref_obj.initRef(id->num, id->gen); //ref_obj.initRef(id->num, id->gen);
font_obj = ref_obj.fetch(xref); font_obj = ref_obj.fetch(xref);
//ref_obj.free(); //ref_obj.free();