commit cc79fa051f794094a7067c2801b15b89015ef618 from: Sven M. Hallberg date: Thu Jun 15 15:53:52 2023 UTC fix a copy-and-paste mistake in parse_fonts Pretty sure that this got copied from below in 317cc8fb and should be dict_t, i.e. the case of the "font dictionary" being a (single) font resource itself. commit - 2b528fbdf315ca85f18f9ed28a5fef1513039c7c commit + cc79fa051f794094a7067c2801b15b89015ef618 blob - 5ad8aff4d99d0a16b38d8fb2c052603df75f1159 blob + 54db2a711bbc84a6d61342147f02fe1c17f07ce5 --- pdf.c +++ pdf.c @@ -3736,7 +3736,7 @@ bool parse_fonts(const HParsedToken *dict_t, RsrcDict_ log_message(SEV_DONTCARE, "\n\nparse_fonts: Attempt to add fonts -- Supported??\n\n"); } else { - pgRsrc->fonts = item; + pgRsrc->fonts = dict_t; pgRsrc->numFonts += 1; } return true;