this post was submitted on 20 Jun 2023
28 points (93.8% liked)

Open Source

31111 readers
635 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
28
PDF Editor (self.opensource)
submitted 1 year ago* (last edited 1 year ago) by stylishboar to c/[email protected]
 

Any recommendations for a PDF editor? I've been using LibreOffice Draw, but it doesn't seem to preserve all the formatting/positioning.

Edit: Some features I'm looking for:

  • The ability to highlight and/or redact text
  • The ability to add/remove pages
  • It would also be nice to be able add signatures.
all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (1 children)

Unfortunately not open source, but I have good experience with Master pdf Editor. It "is a proprietary application to edit PDF documents on Linux, Windows and macOS. It can create, edit (insert text or images), annotate, view, encrypt, and sign PDF documents.": https://www.linuxuprising.com/2019/04/download-master-pdf-editor-4-for-linux.html

[–] [email protected] 2 points 1 year ago

+1 for master PDF editor. It's the only one that I found working. There are 2 version: one completely free (V4) and one with subscription (V5)

[–] synapse1278 3 points 1 year ago

Unfortunately I didn't find any single PDF editing app that stands out, so far. Although it's important to note that Firefox as made some progress recently on this topic. The embedded PDF viewer now allows to write, sketch and draw on documents (e.g a signature) and save the changes, i think you can also highlight. When it comes to digital signatures and adding/removing/sorting pages, you will need another app.

[–] [email protected] 3 points 1 year ago

Xournalpp is what you are looking for.

It has a horrible outdated interface, but it makes layerwise edits and preserves the original data of the doc.

[–] pbmonster 3 points 1 year ago (1 children)

I'm using pdftk to add/remove pages, which works perfectly. Also does stuff like rotate some pages, ect. Easily scriptable, so stapling together all the PDFs in a dictionary is super easy.

For actual editing (removing text, adding complex things), I just use Inkscape. How well that works depends on the PDF itself.

And just highlighting text is something every single PDF viewer can do nowadays.

[–] stylishboar 1 points 1 year ago (1 children)

Oh, interesting. I could see how the pdftk CLI could be powerful. Do you know if the source code repository is actually public? I couldn’t find it.

[–] pbmonster 2 points 1 year ago

I don't think the repository itself is public. But pdftk is licenced under GPL2, and so PTFLabs has published the source code here.

I imagine you could contact PDFLabs directly if you wanted to contribute.

[–] Matth78 3 points 1 year ago (1 children)

I frequently see Okular as a suggested app when someone is asking about a pdf editor.

Myself I am using pdfarranger but it only allows to reorder / remove / combine / split pdf. You can't highlight or redact text with it.

[–] stylishboar 1 points 1 year ago

Thanks. Yeah, I’ve started to check out Okular, but I think it doesn’t allow you to change the pages. So maybe a combination of the two would fulfill my requirements.

[–] [email protected] 3 points 1 year ago

What are you doing with it? Okular is a nice FOSS solution for viewing, annotating, signing, etc. which covers many people's usage. If you really need a full editor, I would generally stick with Adobe's stuff. Don't know any free or FOSS solution that works better.

[–] vintprox 1 points 1 year ago

Inkscape is the only strong tool for editing PDF that I can recommend today. Even though I'm unsure about semantics, it helped me a lot recently.

[–] tomcatt360 1 points 1 year ago

You and me both, chief.

[–] [email protected] 1 points 1 year ago

To the best of my knowledge, there isn't a good FOSS PDF editor.

There's LibreOffice Draw, but as you said, it messes up the formatting. There's also Inkscape, but good luck if you have pages of text. You can also try Scribus, but I wouldn't say it's good (or intuitive).

If all you want to do is write over a PDF, put (not edit, nor remove) text, formulae, or images, then Xournal++ is very decent.

If I need to edit a PDF, I use (*gags*) Adobe Acrobat running in Wine (with Lutris is very easy). It's as proprietary and evil as it can be, but it's good at editing PDFs.

[–] [email protected] 1 points 1 year ago

Depends what you wanna do, xournal for free edits is good. If it's a simple document OnlyOffice imports pdfs also.