79275543

Date: 2024-12-12 14:54:34
Score: 1.5
Natty:
Report link

I'm not sure this solves your problem and I'm not familiar with the PDF format or PKCS#7, but it seems that you don't render the rectangle (the 7 0 obj), only the "Hello World" text (the 4 0 obj). By changing the line /Contents 4 0 R to /Contents 7 0 R, and normalizing the color (255 112 52 -> 1.0 0.439 0.204 rg), it did render the reddish rectangle.

Document with rectangle

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simon Pauget