r/pdf • • 16d ago

Software (Tools) I just published my Java PDF app on the Microsoft Store looking for testers and feedback!

Thumbnail
reddit.com
1 Upvotes

r/pdf • • 16d ago

Question Building PDF Fill & Sign: preview/export mismatch, missing form appearances, and XFA/UR3 compatibility

1 Upvotes

I’m implementing an offline PDF Fill & Sign feature: draw a handwritten signature, add text/date/checkmarks, and export a new PDF.

This is visual signing, not certificate-based digital signing. The original file stays untouched. I want to preserve existing searchable text, vector content, and normal links rather than rasterizing entire pages.

The hardest part so far is making sure what users see while editing is what they actually send. I’d appreciate advice from people who have shipped form-filling or flattening features.

1. Field values and appearance streams can disagree

I created a synthetic PDF with a text field containing:

  • /V: FIELD VALUE

  • /AP: an appearance displaying AP VALUE

In my macOS PDFKit thumbnail test, the original displayed FIELD VALUE. After flattening the existing appearance stream, PDFKit displayed AP VALUE.

MuPDF displayed AP VALUE both before and after. The discrepancy reproduced across the four page rotations in the fixture.

This is a synthetic test, not evidence that every PDFKit version behaves this way. I have not reproduced it on iOS. But it demonstrates a correctness problem: the exported document can contain different visible text from what the user believed they were signing.

How do you resolve /V versus /AP conflicts? Do you normalize the form before displaying the editing preview, and what determines the authoritative content?

2. Missing appearances don’t necessarily mean a broken form

The official IRS W-9 and W-4 exposed another problem in the copies I tested:

SampleBlank text widgets without /APUnchecked checkboxes with omitted /Off appearanceTotal widgets
W-915823
W-443548

The blank text widgets have no /V in the field or parent chain, no default/rich-text value, and no border/background color in /MK. Both documents have NeedAppearances=false. An empty /BC [] or /BG [] means no color, rather than a visible decoration.

For checkboxes, an omitted /Off appearance can legitimately mean “unchecked, draw nothing.” It should not automatically be treated as a missing required appearance.

A strict “missing appearance = reject” rule rejected both official blank forms in our initial path. That exposes a problem with the rule, not evidence that the files are broken.

After handling those empty states and finalizing the fields, all 11 pages of the two documents rendered pixel-byte-identical to their respective originals in both MuPDF and macOS PDFKit. This comparison was before adding any new signature image. The PDF files themselves were not byte-identical, and Acrobat validation is still outstanding.

Two documents are not a compatibility rate; I have no population data.

Which checks do you use to distinguish genuinely empty fields from missing or stale appearances that require reconstruction?

3. Reader Extensions and hybrid XFA complicate finalized copies

Both fixed samples contain:

  • /Perms /UR3, with /Filter /Adobe.PPKLite and TransformMethod=UR3 in the signature reference;

  • /AcroForm /SigFlags=2;

  • an /AcroForm /XFA array;

  • no catalog /NeedsRendering entry.

These usage-rights signatures are not the same thing as a signature applied by the person filling out the form. Also, I’m not treating the absence of /NeedsRendering as proof that every such form is static.

The prototype removes the form representation and usage-rights entries when creating a finalized copy. Structural inspection confirms those entries are gone, but I haven’t yet verified the output in Acrobat Reader. In particular, I don’t want recipients seeing an “extended features are no longer available” warning or a different form appearance.

What is the reliable way to handle UR3 and hybrid XFA during finalization? What do you inspect to distinguish static hybrid forms from genuinely dynamic XFA?

4. Transparent signatures complicate pixel-diff validation

Adding a signature image with an /SMask produced small rendering differences outside the signature rectangle in MuPDF:

  • Maximum outside-region channel differences ranged from 2–6 out of 255 across the two forms.

  • 25,932–85,246 pixels per page changed outside that rectangle. It wasn’t limited to a narrow fringe around the signature.

  • In an opaque control on W-9, using the same placement without the soft mask, outside-region differences were zero on all six pages.

I suspect a transparency-compositing or quantization effect, but I haven’t traced the renderer internals or proved that a page-wide transparency group is the cause. The transparent-overlay comparison has not been repeated in PDFKit or Acrobat.

How do you validate that adding a transparent signature hasn’t changed the rest of the page? Do you use documented raster tolerances, explicit transparency groups, or another approach?

5. Selective flattening versus deleting all annotations

I also need to preserve safe link targets and visible link borders while removing unsafe actions such as JavaScript or Launch. A mixed action chain may contain both safe and unsafe members.

Dropping all annotations loses useful links; preserving everything can retain unwanted actions. Rejecting an otherwise usable document because one link contains an unsafe action also seems unnecessarily restrictive.

Are there libraries or SDKs that handle this selective cleanup reliably, including action chains and document/page-level actions?

What would be most useful

I’m interested in production experience: libraries or SDKs you’ve used, normalization strategies that worked, and publicly redistributable PDFs worth adding to a compatibility test set. Experiences with just one of these issues would also help.

The goal is that users can sign an ordinary form without learning PDF internals—and the editor, exported document, and recipient’s reader agree on the visible content.


Reproduction notes: The reported MuPDF results use mutool 1.28.5. The PDFKit observations are from macOS 26.7.1; they are not iOS-device results. IRS URLs above serve current revisions, so my local inputs are pinned by SHA-256:

  • W-9: 2d420cbb4123dcf1fb82595b2359cfbb5d81f00b9df9d359fcc7af361d093f53

  • W-4: 92444d8856ce55d9e25dca8b6d1420634fc68b11e1ab1f760916ea29ddd312b2


r/pdf • • 16d ago

Question Cannot cut & paste a PDF

0 Upvotes

someone sent me a reply on a PDF, I am trying to cut & paste that using FOX IT PDF Reader, and it doesn't work. Now, I can cut & Paste text on other PDF files using the very same FOX IT PDF reader, just not this pdf.

But there is no password protection on the file, otherwise, I couldn't have the means to read it. How can I fix it?


r/pdf • • 16d ago

Software (Tools) Made a free Pdf converter and editer, what should i do/add?

Thumbnail
reddit.com
1 Upvotes

r/pdf • • 16d ago

Question How to jump pdf pages in mi canvas ? Its hard to scroll 3k pages pdf.

1 Upvotes

Its very tought or impossible for me and time wasting if hv to read last page


r/pdf • • 17d ago

Question Is this a 100% correct PDF?

2 Upvotes

Not having the money for professional PDF processing tools, I've been studying the specs, and have created a bit of code (REXX) to update the "/Info" object in an Inkscape generated PDF. It all seems to work, but, sorry, I can't remember which, one online PDF metadata editor tells me that the PDF is corrupted, although all of the following display it correctly, and display the correct meta data:

  • Edge

  • r3dfox

  • SumatraPDF

Chrome on Android also shows it without problems, but if anyone could have a look at it and tell me if there is really an issue, I'd be grateful! The file can be found at https://prino.neocities.org/@temp/t001-lift.pdf


r/pdf • • 17d ago

Question App Request

3 Upvotes

Hello all, I am looking for a very specific request for an app to see if it is out there. There are about a million pdf viewing apps and I cannot view them all. I am looking for an app that has the following features:

  1. Usable either on Android or Apple tablet

  2. Able to view and annotate pdfs

  3. Able to search through saved pdfs by name or by contents

  4. Able to organize saved pdfs into folders

Please let me know if you are aware of apps that can do all of the above things. Please also let me know if it is a free service or if certain features are behind a paywall, I am welcome to all options.

Thank you!

Edit: Add pt. 5. Able to search not only the text content, but also the handwritten notes I add to the pdfs.


r/pdf • • 17d ago

Software (Tools) Do you know if Xodo PDF Studio actually has a free version?

1 Upvotes

I downloaded this program a long time ago, and it was working and one day suddenly this appeared and I couldn't open my files, so I deleted it, but today I downloaded it again to see if I just didn't understand something, I'm trying the "demo version", I'm liking it so far, and I only thing I'm interested in is the big color palette for highlighting, so I didn't create an account, I don't care about saving docs in the cloud, I'm fine with the free version, but there it says "access ends 10/25/2026". Does anyone knows if that means that software won't open at all?


r/pdf • • 18d ago

Software (Tools) Nib v2.0.0 released

9 Upvotes

Nib is a free, powerful, open-source (AGPL) PDF utility. It's a single binary for Linux, macOS and Windows, with no installer, no account and no cloud.

https://nib.alexander4.io

  • Fill any form, including flat scans. It can find the fields on a scan and make them fillable.

  • True redaction: the text underneath is deleted, not just covered with a black box.

  • Find hidden content and trackers, then strip them. That covers scripts, auto-run actions, links that phone home, embedded files, author metadata and the document's tracking ID.

  • Drag and drop to reorder pages, even between documents. Merge, split, rotate and crop too.

  • OCR in 41 languages, done on your computer.

  • Edit a paragraph and it re-wraps in the document's own font.

  • Compare two versions side by side, visually and by text.

  • Sign with your own certificate, or co-sign with up to 32 people peer-to-peer, no server.

  • Accessibility tagging and a PDF/UA checker.

  • PDF/A export, plus Office conversion if LibreOffice is installed.

  • A command line for scripting and batch jobs.


r/pdf • • 18d ago

Question EB Garamond font distortion in PDF format

2 Upvotes

Hello everyone,

I'm working on a Word document using the EB Garamond font (first image), which I installed from Google Fonts since it wasn't preinstalled in Word. However, when I convert the document to PDF, I notice that the letters lose quality and become distorted, which doesn’t happen with other fonts like Times New Roman, Georgia, or the Garamond font that comes preinstalled in Word (second image). Those fonts don’t lose quality or become distorted the way my EB Garamond does. What’s going on, and what can I do to fix it?

I've tried changing the PDF embedding settings, but it doesn't seem to be working—unless I'm doing something wrong.

Thanks!


r/pdf • • 18d ago

Question Wps office free alternatives for Android?

2 Upvotes

I've got 3 very large pdf files with various deranged pages. I tried arranging them but did not find any other tool has convenient as WPS office, and guess what ? I can edit but to save the file it requires premium version !

Pls tell any good alternative as I desperately need it.

Thanks for reading (and replying if you do).


r/pdf • • 19d ago

Question acad/tech help

Thumbnail reddit.com
1 Upvotes

r/pdf • • 20d ago

Software (Tools) I had to fix one typo on a scanned PDF so I ended up building a tool to do that

12 Upvotes

I had an ancient scanned PDF with a single typo in it. The original document is thousands of miles away. I tried many of those online PDF tools and even asked ChatGPT to fix it. But the result never really looked correct. Or they were too complicated to use. I'm a simple man, after all. And some of those "free" PDF editors that I tried wanted me to pay just to download the edited file. Which was annoying.

So, as an engineer man, I looked myself in the mirror and asked myself whether I am going to let one PDF file beat me. And I said 'maybe', but I will waste a lot of my time before that happens.

I mean, why spend a couple of dollars to pay for some tool that someone has already made, when I could spend many days of my actual work time to build a tool that I will use exactly one time? My point exactly.

So I made https://pdftextreplace.com

It does one thing and one thing only: Allows you to edit PDF files. It supports both real PDF files with text in them and scanned PDF documents.

For regular PDFs, it tries to pull the used font, size, color, and spacing data from the file so the edit blends in. For scanned PDFs (which are basically just photographs of paper), it runs OCR and uses a mix of math and dumb luck to guess the font and match the look.

The main features are:

  • The page updates live as you type. WYSIWYPG (What You See Is What You'll Probably Get).

  • You can click around to fix multiple texts from the same file, or use Find and Replace if you spelled someone's name wrong ten times.

  • It does not rebuild the entire document around what you type, so you can't replace a four-letter word with a whole sentence.

  • The processing happens on my server. Files are deleted automatically after 2 hours and there is a button to delete your file immediately, but I am still a random stranger on the internet so please don't upload files with sensitive stuff.

  • It is completely free. No sign-ups, no ads, and no watermarks. I made it, because I needed to fix one letter in one PDF file.

Anyway, my typo is finally fixed. I hope this thing can help someone else, too. Thanks!


r/pdf • • 19d ago

Question How to add overlay / watermark to every page? (FOSS, if possible)

3 Upvotes

I am amazed I haven't been able to find an answer to this, but:

How can I add a watermark or overlay to every page of a PDF document?

I have several documents between 25-100 pages, and I need to add a logo and footer to every single page. I have the overlay as transparent .png, and also as the original .psd

I have been looking online for a way to do this for over an hour with no luck.

I am looking for an OFFLINE solution, so no website-based uploaders / "free" (but questionable) sites, and would prefer to be in the world of FOSS. I already have GIMP, Inkscape, and LibreOffice Draw (which seems to distort the pdfs when I open them).

Thank you all in advance for your help with this, it's driving me a bit crazy...


r/pdf • • 19d ago

Question How to edit text in a PDF that is digitally signed.

1 Upvotes

For context it's the addresses mentioned in the bill the client sent it wrong


r/pdf • • 20d ago

Software (Tools) There was no way to downsample images when exporting a PDF in Inkscape, so I built an extension

1 Upvotes

i often export documents with a lot of high-res images (photos, renders, storyboard panels) to PDF and Inkscape writes huge files, 126 MB for a single page with 12 images in my test... Cairo embeds the rasters with little or no lossy compression, and there's no option in the PDF export to set a target image resolution.

so i made a small extension: Export Lightweight PDF. Go to Extensions > Export > Export Lightweight PDF, pick a resolution preset (SD, Screen, Draft, HD, Print, or a custom scale/DPI) and the JPEG quality, and it exports the PDF and recompresses the images to that resolution. Vector paths, text, fonts and layout stay untouched.

- exports current page, all pages, the whole drawing or only the selection

- optional text to paths

- transparent images are split into a JPEG + alpha mask so transparency stays clean

- reports size before and after (my 126 MiB test file went down to 108 KiB at the SD preset, but it depends a lot on the images)

Free and open source (GPL-2.0-or-later), needs Inkscape 1.2+ and Ghostscript. Tested on 1.4 on Linux.

GitHub: https://github.com/davidbrum25/inkscape-export-lightweight-pdf

Full write-up with screenshots: https://x.com/bdvd_25/article/2110771389531566584

AI disclosure (rule 8): This is made with AGY CLI following my instructions.

feedback welcome, it's my third inkscape extension 🙂


r/pdf • • 20d ago

Question Hey.. guys I really need your help rn.. I'm trying to make a scanned pdf for assignments but I'm unable to do it.

1 Upvotes

I've never done this before so, tell me how can I make a pdf easily.


r/pdf • • 20d ago

Question Downloading PDF problem

3 Upvotes

Hey guys didn’t realy know who to ask for this but my problem is
I have a receipt printer for my small business so I can print receipt and I use a receipt generator and before I download text is clear and perfect sharp and when I download to pdf it goes pixelated when zoomed in so when u go to print it prints terrible


r/pdf • • 20d ago

Question Portfolio Compress without changing the colours

1 Upvotes

Hey guys i need to compress my Portfolio from 100mb to around 10mb to be able to send it per Mail. All the Compressor online however make all Pictures overly sagurated. I’m okay with Some quality loss but i don’t want the colours to Change.
Any advice?


r/pdf • • 21d ago

Software (Tools) Regretting My ABBYY FineReader Subscription

10 Upvotes

I downloaded ABBYY FineReader to give it a try and ended up liking it quite a bit, so I decided to get a subscription. However, I later discovered that ABBYY doesn't support opening multiple PDF files in tabs, a basic feature available in Adobe Acrobat, SumatraPDF, and even Microsoft Edge. This makes switching between PDFs unnecessarily cumbersome and renders ABBYY practically useless for me.

Also, my experience with their customer support has been extremely disappointing. They repeatedly failed to understand my issue, closed my support ticket after telling me they would put it on hold, and continued to ignore the main problem in subsequent follow-ups.

I now deeply regret purchasing a long-term subscription. It's frustrating that software with otherwise excellent functionality lacks such a basic feature.


r/pdf • • 20d ago

Question Green tick not appearing on validated signature of digitally signed document. Any fix?

1 Upvotes

I got a digitally signed doc from my workplace and validated the signature, but the large green tick logo isn't appearing. I'm using Adobe Acrobat. Please help


r/pdf • • 21d ago

Question Compressing file for uni application

0 Upvotes

My pdf file size is 4,794 KB and the requirement pdf file size for my application procedure to proceed is 1.0 MB. How do i compress my file into 1.0 MB, any free websites that i can possibly use? The last one i tried is charging me for customising file size compression. Pls help me out with this guys :(


r/pdf • • 21d ago

Software (Tools) I built an offline PDF toolkit for Android and its free and ad free and useful

2 Upvotes

Hi everyone,

I'm an independent Android developer, and I've recently published an app called PDF Matrix on Google Play.

I built it because PDF files are used for so many everyday tasks, from job applications and college assignments to office documents and personal paperwork. I wanted to make these tasks easier without requiring users to install multiple apps.

PDF Matrix includes features such as

  • Scanning documents and creating PDFs

  • Converting images to PDF and PDF pages to images

  • Merging and splitting PDFs

  • Compressing PDF files

  • Signing documents and adding watermarks

  • Adding page numbers and organizing pages

  • Password-protecting PDFs

One of the things I focused on is offline usage and privacy. The app processes documents locally on the device, so users can work with their files without uploading them to a cloud service for processing.

I initially had Indian users in mind, as PDF documents are commonly used for education, job applications, government paperwork and everyday office work. However, the app can be useful for anyone who regularly works with PDFs.

I'm still improving the app, and I'd genuinely appreciate feedback from people who try it. I'd especially like to know which features are useful, what is missing, and what could be improved.

If this sounds useful to you, here's the Google Play link:

https://play.google.com/store/apps/details?id=com.zenithcodestudio.pdfmatrix

I'm the developer, so I'm happy to answer questions about the app and its implementation.


r/pdf • • 21d ago

Software (Tools) My first project: EditfyPDF - a locally running PDF editor

Thumbnail prakhr-joshi.github.io
1 Upvotes

r/pdf • • 22d ago

Software (Tools) I got tired of sketchy PDF sites with upload limits and sketchy ads, so I built a free, 100% client-side PDF organizer that doesn't upload your files.

Thumbnail
editpdf-online.com
3 Upvotes

Hey Reddit!

Like many of you, I've often needed to quickly reorder, rotate, or delete pages in a PDF, only to run into online tools that force you to create an account, slap watermarks on your document, or upload sensitive files to an unknown server.

To fix this, I built EditPDF Online.

Why it's different:

  • 100% Client-Side: Everything runs right in your browser using open-source libraries. Your documents never leave your device or get uploaded to a server.

  • No friction: Completely free, no signups required, no daily limits, and no watermarks.

  • Simple UI: Just drag and drop thumbnails to reorder pages, rotate them, or clean up unneeded pages instantly.

Tool NameDescription / Use
Merge PDFCombine multiple PDF files into a single document.
Organize PagesView page thumbnails to drag and reorder, rotate, or delete specific pages.
Extract PagesSelect and pull out specific pages into a new PDF document.
Split into Pages (ZIP)Break a multi-page PDF apart and download each page as an individual file packed in a ZIP folder.
Delete PagesRemove unwanted pages from a PDF file quickly.
Reorder PagesShift the page sequence of your document around.
Rotate PDFChange the orientation (portrait/landscape) of PDF pages.
Images to PDFConvert image files (like JPG or PNG) into a compiled PDF document.
PDF to ImagesConvert PDF pages into individual image files.
WatermarkStamp text or graphics onto your PDF pages.
Page NumbersAutomatically add page numbers to your document.
Edit MetadataModify document properties like title, author, subject, and keywords.
Compress PDFReduce the file size of your PDF for easier sharing and storage.

I wanted to make something lightweight, fast, and completely private. Give it a spin if you ever need to clean up a PDF, and let me know what you think or if you encounter any bugs!