Commit Diff


commit - 982ac17f53024b2288b07cd95e5c4c451d04ab19
commit + 5010a4dc4459f9d3cc94dcf635285b317085b578
blob - 0dede9503e05c3b056c5b4dcd5578159db574aa1
blob + 4c8803047ec8b12e70a961b92abc801055c852e8
--- pdf.c
+++ pdf.c
@@ -4802,6 +4802,7 @@ p_stream_data__m(HAllocator *mm__, const Dict *dict, s
 	const HParsedToken *v;
 
 	v = dictentry(dict, "Type");
+	v = resolve(aux, v);
 	if (v == NULL || v->token_type != TT_BYTES)	// XXX -> custom type
 		return NULL;				/* no /Type field */