Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend the Arlington PDF model for content stream operators and operands #16

Open
petervwyatt opened this issue Aug 8, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@petervwyatt
Copy link
Member

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
@a20dev
Copy link

a20dev commented Jan 18, 2023

This should also be done for the DA entry of annotation dictionaries and field dictionaries.

@a20dev
Copy link

a20dev commented Jan 18, 2023

...and the DA entry of AcroForm.

@petervwyatt
Copy link
Member Author

petervwyatt commented Feb 12, 2023

See https://github.com/itext/pdfcop (ANTLR4)

@petervwyatt petervwyatt added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants