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.

  • Quazatron@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    4 months ago

    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.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    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.

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Some parts already have filled text that are dynamic fields (but without the support it becomes fixed text). So I can’t write over it. And Firefox doesn’t recognize them as fields, otherwise I could delete the part. It’s so frustrating.

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    4 months ago

    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.

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      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.

  • AmbiguousProps@lemmy.today
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    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.

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      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?

      • AmbiguousProps@lemmy.today
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        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.

        • thevoidzero@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          Yeah. I’m just worried when extractor fails they put it in discard pile, or human pile which’ll delay my application by a lot.

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Ocular shows a warning ⚠️ this file requires new version of adobe acrobat DC, press ok to download latest version or see your system administrator.

  • ProtonBadger@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    Yeah I gave up and installed Windows in a VM, I use it for those annoying forms and some old tax software… My kid also wants to use powerpoint occationally. It’s quick and easy to install in a VM though and doesn’t take up much space but I got a lot of room on my SSD so everything is relative.

    I’d like a Linux solution for the forms but it’s still convenient to have a Windows VM once in a blue moon.

    • thevoidzero@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Installing it is such a hassle, and booting is too, I used to just close while saving state, but that messes up the time in VM and it leads to problems… Is there any light weight basic windows type VM you use? Or is it the generic iso?