3 ms·
I don’t think it’s ridiculous to want a scriptable document, especially for complicated forms. Likewise for the other much-dragged features for 3d scenes. http
by cmrx64 3y ago
I don’t think it’s ridiculous to want a scriptable document, especially for complicated forms. Likewise for the other much-dragged features for 3d scenes.
https://pdfa.org/resource/pdf-in-manufacturing/ https://pdfa.org/resource/pdf-in-manufacturing/ is a great usecase.
- fuzztester 3y agoThe PDF spec even supports attachments in PDF files.
- rudasn 3y agoHow does that work exactly? Is it widely supported? I recently had to add an embed feature to our pdf rendering, to allow users to embed other pdfs inside the one we generate for them. Since we use headless Chrome, I used pdfjs from mozilla to render the embedded pdf on screen before generating the pdf, so you can actually see and read the embedded pdf. Works pretty well, but was wondering about this attachment feature of pdfs.
- cmrx64 3y agoPDF is a container format and yoy can just shove files in there. pdftk supports this with attach_files, and at the very least the linux pdf readers I’ve used know how to deal with them.
- rudasn 3y agoTIL! Since these pdfs end up in whatever and how old devices, I'd rather not risk it though.
- fuzztester 3y agogood question. how it works is an implementation question. read the PDF spec (big, and somewhat hard to grok in parts) or Google about it. I don't know. I just knew about the fact, because I have done some work with PDF. also don't know if it is widely supported, sorry.
- fuzztester 3y agonice idea there.