Now. Why am I wrong for Libre

  • gustofwind@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    22 hours ago

    Are there any good free pdf editors anyway? I’ve always had to use a premium product in the end 😔

    • iAmTheTot@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      21 hours ago

      LibreOffice Draw is the best in my experience. I edit a lot of pdfs for work and was tired of using an online solution which gave you two free document edits per hour. This was often enough but sometimes it wasn’t, and that was annoying. So I tried four or five different offline software solutions for it, and I settled on LibreOffice Draw.

      • gustofwind@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        21 hours ago

        Yeah, similar experience, I’ve also settled on draw. Works fine enough 🤷‍♀️

        Sometimes I use my organization’s ms and adobe products and I just get a little ui envy…

        Edit(sometimes I have to)

    • lime!@feddit.nu
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      21 hours ago

      i mean, pdf’s shouldn’t be edited. that’s the point of pdfs.

        • lime!@feddit.nu
          link
          fedilink
          arrow-up
          5
          ·
          19 hours ago

          then convert it to a proper format until you’re ready. editing a pdf is like decompiling and editing an exe file.

            • lime!@feddit.nu
              link
              fedilink
              arrow-up
              2
              ·
              14 hours ago

              pdf is a compiled format for typeset text, so you need a pdf compiler. i use latex + tectonic. pandoc is also a popular alternative. “converting for editing” is like decompiling a program, you’re not guaranteed to get the same thing back as was put in. i never do that, i recompile instead. if i need text from a pdf i use pdftotext and cross my fingers because the formatting ain’t coming back out. any program that does replicate formatting just does a best guess.

                • lime!@feddit.nu
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  13 hours ago

                  no, you can’t edit an existing pdf, the nonstandard form filling extension notwithstanding. you can extract as much information as possible from it and recreate it. that’s what “pdf editors” are doing. and since it’s not officially supported, any edit can screw the file up.

                  the reason you can’t just edit it is that pdf is basically a container for program code that runs on printers. so you can have text interspersed with formatting information, or text with non-existent characters approximated by vector images, or text that’s been rendered to a raster image and is not actually in the document. then you have the fact that pdf can embed specialized fonts, compressed files, security measures, and even internal programs. and it’s all offset-based in there so you need to modify the entire file structure in order to get it working again after adding text. what’s worse, since any file with a pdf document in it is a valid pdf document according to the spec, less reputable “pdf editors” can just embed whatever shit they want. it’s a common malware vector.

                  it’s much safer to re-build the document from source. if you don’t have the source, there are tools to extract just the textual content.

                  • ɯᴉuoʇuɐ@lemmy.dbzer0.com
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    12 hours ago

                    Ok, this definitely helps in understanding how PDF works. However, I really do edit PDFs regularly and have no problems with the edited ones. Already mentioned it ITT, PDF-Xchange lets me do so many things that listing them would sound like an advertisement. Editing the existing text tends to mess it up, that’s true, but it’s not crucial for me and all sorts of other actions work almost perfectly.

                    You’re imagining some very ideal circumstances for working with PDFs that have nothing to do with my own needs, so I can’t really make use of your advice. :/

    • feannag@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      18 hours ago

      It doesn’t have every tool but I’ve been self hosting Stirling PDF and it suits most of my needs.

    • I’ve yet to find one. Pdf24 is free but not Foss and decent for certain tasks, but it’s not a great editor. After using the paid version of xchange for as long as I have, using free options just leaves me disappointed.

      • ɯᴉuoʇuɐ@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        20 hours ago

        What’s kind of weird is that there seems to be no other program coming close to Xchange’s range. I’ve tried a bunch of them and they’re basically toys compared to it. There evidently is some demand, but just one company meeting it fully? Is editing PDFs particularly technically difficult?

        • bufalo1973@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          13 hours ago

          Try to open a text PDF with LibreOffice and you might see why is so difficult to work with them. You can find that all the text is spread in one field for each line, not a unique text box.

        • And the one company won’t release a Linux version either. Sure, Wine exists, but it’s not nearly as good as native support.

          No clue how complicated PDFs, with all of its different versions are. Especially if some software make PDFs that don’t even comply with official spec (not sure how often happens though).

      • BenLeMan@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        18 hours ago

        PDF Xchange Editor is cool. Thanks to it I haven’t had a need for Adobe software on my PC in years.