mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +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:
parent
00480afec5
commit
f9fcd7f8bb
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user