TLDR: I recently found out there is “deprecated” XFA format that acrobat still uses in their programs, and government forms have those for dynamic contents in the form that we cannot fill using other softwares. Looking for solutions.
This has been a problem since a long time. Back in 2020 I had dual boot because I needed acrobat to fill PDF forms, but after finding xournal++ program I nuked windows partition. Windows update messing up grub was one of the reason I decided to nuke windows and looking at the posts recently it’s still a huge issue.
So the problem I recently encountered is that even the government issued PDF forms need acrobat reader (which is free software for PDF, but only available in windows and mac). Which I didn’t think would be an issue and just filled the form in Firefox.
Turns out that was problematic as the PDF forms has fields that are automatically filled, calculated from other fields, only made available when certain checkboxes are checked, etc. and Firefox doesn’t support that. Even trying to install the acrobat reader snap (which uses wine) in a VM and opening the PDF on it didn’t work. The UI makes me think it’s a really old version of the reader.
So without searching for other devices (and filling a PDF with my sensitive information) what solution is there? Installing windows is a hassle even in a VM, and it will use up precious SSD memory. But that’s the only solution I can think of.
I also found masterpdf or something like that which the Arch wiki says has support for that, but it didn’t work. It says XFA forms are converted to acro forms, and the dynamic part doesn’t work. There are websites that promise to work for such forms, but I’m not going to be putting sensitive info on web apps.
That has been a pain point for a long time, along with signing and verifying digital signatures in PDF documents in Linux.
Adobe is up there along with Nvidia on my top of shitty companies that actually hinder Linux adoption by ignoring it.
I would just print it, fill it out by hand and scan it. Make them do the extra work if they send a PDF that doesn’t work in your software.
Fuck adobe, this has nothing to do with PDF.
You can install the reader in a VM and copy the files to a WINE instance.
The youtuber mattscreative does that for photoshop, affinity and more. Photoshop is paid, so acrobat should absolutely work.
He uses KDE Plasma on Fedora afaik.
Follow the photoshop guide which uses a custom WINE version.
I know it’s adobe problem. Because they deprecated it in PDF 2.0, last support is in 1.7, but they have continued using 1.7 with adobe extension 1 to 1.7 with Adobe extension 8. So it’s like they have their own branch of PDF versions. But most people don’t care, and here a government agency is using that and it’s not accessible for linux.
Wine needs 32bit libraries that’s why I’m not using it. I read the snap package handles the wine part for us, so I tried that in VM but didn’t work. I’ll try to follow your suggestion in VM and see if it’ll work.
Does it open in LibreOffice draw? If so you can just fill the form with text boxes if the text boxes in the form aren’t already fillable.
Draw seems to disregard the form fields, so I could probably fill it in Firefox, and use draw to edit the auto calculated fields. It’ll work for printed forms, but if any org uses pdf fields extractor wouldn’t that be a problem?
Possibly, it would probably depend on the extractor and business - I would hope that most businesses would catch that the fields weren’t filled out during extraction if extraction is something they normally do. I would expect it’s something that happens with pdf extraction and they’d have a human go in and check it in those cases. Of course, for humans that doesn’t matter, so if only humans are viewing it, I think you’d be good.
Stirling PDF maybe?