arlington-pdf-model
arlington-pdf-model copied to clipboard
Extend the Arlington PDF model for content stream operators and operands
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