From f9fcd7f8bb8e03ebd3663856607a0661c8fd1b7c Mon Sep 17 00:00:00 2001 From: stephengaito Date: Thu, 26 Sep 2019 10:28:46 +0100 Subject: [PATCH] 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. --- src/HTMLRenderer/font.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTMLRenderer/font.cc b/src/HTMLRenderer/font.cc index 56ad2f5..3392a9e 100644 --- a/src/HTMLRenderer/font.cc +++ b/src/HTMLRenderer/font.cc @@ -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();