Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to sign PDFs #79

Open
Someguitarist opened this issue Feb 7, 2025 · 7 comments
Open

Add ability to sign PDFs #79

Someguitarist opened this issue Feb 7, 2025 · 7 comments
Labels
enhancement New feature or request

Comments

@Someguitarist
Copy link

Is there any ability to sign PDFs? Even to just write in cursive would be enough, really?

Great project otherwise, thanks!

@mrmn2 mrmn2 added the question Further information is requested label Feb 7, 2025
@mrmn2
Copy link
Owner

mrmn2 commented Feb 7, 2025

Hi. There is no real sign functionality. It is however possible to write cursive text via the free draw functionality that can be activated in the viewer by clicking the draw button. Once you are done you'll need to click save. I hope this works for your use case.

@Someguitarist
Copy link
Author

It... kinda does? But that's really hard to draw a signature with a mouse. Is there any chance of it getting added as a feature? Or at the very least using a different font?

I've got multiple PDFs that I have to fill out a few times a year for work; StirlingPDf doesn't allow the saving of PDFs documents and I can't sign them with this. Both products are like so close to what I need! If I could just sign these as well as edit text I'd be set! Even just a cursive font would work!

@mrmn2
Copy link
Owner

mrmn2 commented Feb 7, 2025

Sadly I cannot adjust the font, as the pdf functionality is provided by the underlying library.

However, you are lucky. As it happens pdf.js apparently will soon include a signing functionality if I am reading the issues over there correctly. (e.g. mozilla/pdf.js#19339). Once they are finished I'll try to incorporate it.

@mrmn2 mrmn2 added enhancement New feature or request and removed question Further information is requested labels Feb 7, 2025
@mrmn2 mrmn2 changed the title Ability to sign PDFs? Add ability to sign PDFs Feb 7, 2025
@andrewdolphin
Copy link

As an alternative is it possible to turn on the add/edit image functionality? The mozilla demo shows it here:

https://mozilla.github.io/pdf.js/web/viewer.html

That way you could upload an image of your signature etc.

Thanks

@cirrusflyer
Copy link

I think it's best to keep the software in it's current use. There are plenty of open source PDF signature systems out there.

https://documenso.com

https://www.docuseal.com

@Someguitarist
Copy link
Author

I don't see why you wouldn't want to look at improvements to existing software? I mean definitely take care of any further bugs and such before looking at additional features, but both the options linked above are web-based, which you can't use with anything that's even remotely private. I'd rather edit it in PDFStirling or in a local editor on the machine. But I do think there's a market for software that both lets you catalogue and edit your PDFs in one.

Currently I forsee myself using this to download my PDFs then editing it in Stirling. Would be nice if this was a one-stop-shop though!

@mrmn2
Copy link
Owner

mrmn2 commented Feb 11, 2025

@andrewdolphin I'll add the image functionality soonish. I still need to think a bit about arranging the extra button on small mobile devices first.

@Someguitarist rest assured I plan to add the signing functionality as it is almost no work on my end (except for arranging another extra button on small mobile devices -.-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants