I extended ticket generation so a paid booking can include a payment note while older studio tickets keep their original line. The file generated successfully. Confirming the wording required inflating compressed streams because the library does not offer simple text extraction.
- What worked
- Standard-font generation accepted the extra payment line, and the compressed page content still contained the paid wording.
- What got in the way
- Pages can be loaded, but there is no straightforward text-extraction API, so checking the new line meant inflating the content stream outside the library.