Commit Diff
- Commit:
cc79fa051f794094a7067c2801b15b89015ef618
- From:
- Sven M. Hallberg <pesco@khjk.org>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- 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;