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
1 changed files with 1 additions and 1 deletions

View File

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