How to hide text in an PDF file?
问题 How can I add text to a pdf document, which is not visible? The document manipulation should be done in java. The usecase is to add further metadata to a document (in a proprietary format, about 40kb), before the document is signed and archived. I tried: annotation field with size 0,0 .txt file attachment but, this annoys readers of the PDF, because they see a difference (comment / attachment bar). Is there a comment object or a syntax to comment out lines in a PDF document? EDIT: I've tried