Hello everybody, I've just encountered this case where the DescendantFonts is an array containing a Dictionary and not a Reference.
This is why I try to create a patch to fix this issue. But, I'm not sure of
my following source code:
if (descendant[0].IsDictionary()) {
pFontObject = (PdfObject*) &descendant[0];
pFontObject->SetOwner(pObject->GetOwner());
pDescriptor = pFontObject->GetIndirectKey( "FontDescriptor" );
}
Is there a specialist here to have a look at my attached patch ? I've tried
to attached a PDF example but it is a bit too big and has been moderated.
Thank you in advance for your help
Regards,
Christophe
PdfFontFactory.cpp.patch
Description: Binary data
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
