Live data from Hacker News

Show HN: Free, in-browser PDF editor

breezepdf.com

61–70 of 188 posts

Re: Show HN: Free, in-browser PDF editor

#61

This is really nice! Kudos. Small request: When I have a document open, ask to prevent accidentally closing the tab. Large request: Resizing pictures and signatures.

Thanks!

Ask to prevent accidentally closing the tab is a great suggestion, I just added it!

Resizing pictures and signatures is definitely something I'll add very soon.

Re: Show HN: Free, in-browser PDF editor

#62

Earlier quoted context omitted.

Thanks! Text comments, redaction and flattening are definitely features I'll add. One way it'll avoid enshitification is that I have no VCs or anything like that, it's just me. So I only answer to actual users. My hunch is that while PDF editing is something people commonly do, most people probably don't want to pay for it, at least for basic features. My plan is to add Google Adsense, but in a way that is non-obstru…

> One way it'll avoid enshitification is that I have no VCs or anything like that, it's just me. So I only answer to actual users. > My plan is to add Google Adsense, but in a way that is non-obstructive/intrusive. Please do not do Google ads. Not only that this ruins the privacy of the users and further entrances Google's reach, but it further leads to enshitification which is what we don't want. Perhaps maybe a sma…

Fair point. I added a contact email in the upper right for feedback and sponsorship. Let's see what happens

Re: Show HN: Free, in-browser PDF editor

#63

I use stirling-pdf for this, ran locally with docker run -d -p 8080:8080 -e DOCKER_ENABLE_SECURITY=false --name stirling-pdf frooodle/s-pdf:latest Lots of features, OP you should definitely check this out

Stirling is a life saver, they have a web UI too: https://stirlingpdf.io

Re: Show HN: Free, in-browser PDF editor

#64

Earlier quoted context omitted.

What I miss in free alternatives is the ability to redact. Not just by placing a black bar above, but such that the text also leaves the PDF. Shouldn't even need to reflow other text as mentioned in another comment, as things would otherwise stay the same.

check out pdfredactoronline.com I also built that. I had to make it separate for now as it's using MuPDF JS library which has APGL licensing, but I might add it in here if it seems I can add it while still complying.

Will check it out, thanks!

Re: Show HN: Free, in-browser PDF editor

#66
post #13

Earlier quoted context omitted.

That's the problem with all the pdf editors available out there. I guess adding stuff is much easier than editing existing stuff which you didn't add, and can be laid out in a gazillion ways, because PDF is a format for viewing and printing, not for editing. I had a period when I worked with lots of documents. I could only find one fairly decent PDF editor which deserves to be called that way. I could use it to open…

Editing text in PDFs is _really_ hard compared to other document formats because most PDFs don't really encode the "physics" of the document. I.e. there isn't a notion of a "text block with word wrapping," it's more "glyphs inserted at location X with font Y." If the PDF hasn't been made accessible, you have to do a lot of inferencing based on the layout about how things are grouped and how they should flow if you wa…

Yes, and alongside formatting challenges, PDFs commonly only include the glyphs from the font that are actually used in the document.

So if you had PDF with "Hello World" on it, you could feasibly change it to "Hello Hello", but wouldn't be able to change it to "Goodbye World" (as the glyphs for "G", "b", "y", and "e" are not included in the PDF)

Sure, you could do a bit of detective work to figure out which font it was from the glyphs or something and lookup and insert new glyphs into the PDF, but I can't imagine a generic PDF editor being capable of doing this for you.

Some editors get around this but just straight up switching the font(s) for the whole PDF, so they'll look different after saving.

Re: Show HN: Free, in-browser PDF editor

#67

You'd think at this point there would be a dozen solid competitors to Adobe Acrobat. You'd really fuckin think so. And yet filling out a pdf and signing it with a certificate (aka the bog standard procedure for much of modern bureaucracy) is still too much to ask for any pdf software on linux. It just doesn't exist. How?

I use LibreOffice Draw

Why did I never think of this? Thanks!

Re: Show HN: Free, in-browser PDF editor

#68
post #37

Add a text block - it adds a block that wraps (it's a bit narrow, would like to change its size). When downloading the PDF, the text block is not wrapped, so it doesn't match the way it looks in the editor. Tested in Firefox (but it's the same in Chromium). Nice work on the interface and the offline & local way it works is very welcome!

Hm, mind describing more about how it wraps? Assuming you're referring to text you added? I haven't encountered that myself, but will definitely try and fix. And thanks!

Just that the text block after entering four-five words starts on a new line, it's like regular soft wrapping, looks like I get a 4cm wide text box to write into. Which is fine as a feature, only bug is the two items mentioned (can't resize it and doesn't show up in the pdf with the same width of the text box).

Re: Show HN: Free, in-browser PDF editor

#69
post #27

Nice! Recently I had the need for pdf censoring, aka not adding black rectangles but actually removing the content underneath and I still haven't found a suitable tool. Any recommendation? Or even python library to do it?

LibreOffice.

You can open PDF in LibreOffice Writer, just make sure to select "PDF - Portable Document Format (writer)" in the file selection dialog. This is very important, if you don't do that, the file will be opened in LibreOffice Draw instead of Writer.

Re: Show HN: Free, in-browser PDF editor

#70

Earlier quoted context omitted.

I use LibreOffice Draw

Does that do a perfectly accurate import? Whenever I import PDF's into drawing programs, add something, and then export, something always seems to get messed up. Whether it's font glyphs, or font spacing, or something to do with layer ordering.

It doesn't except very trivial things.
Post reply on HN