arlington-pdf-model icon indicating copy to clipboard operation
arlington-pdf-model copied to clipboard

Extend the Arlington PDF model for content stream operators and operands

Open petervwyatt opened this issue 2 years ago • 3 comments

Extend the Arlington PDF model for content stream operators and operands, according to ISO 32000-2:2020.

Things to check for:

  • correct number, type and range of operands for each operator
  • correctly balanced and nesting of operator pairs: q/Q, BX/EX, BT/ET, BMC/BDC/EMC
  • ensuring a "current point" for vector drawing
  • ensuring d0/d1 are always the first operand
  • ensuring coloured vs uncoloured operators for certain kinds of content streams
  • unknown operators outside of BX/EX

petervwyatt avatar Aug 08 '22 01:08 petervwyatt