Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Marc Kaufman
That turns out to be permissible, and is useful when the signature is invisible. There is an EU demo site that generates sample signed documents that have AcroForm fields, but no annots.: Marc On 12/16/2022 8:16 PM, Tilman Hausherr wrote: That new PDF also has that the initial signature does n

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Tilman Hausherr
That new PDF also has that the initial signature does not appear in the page annotations (which was the bug fixed in the issue). Tilman On 16.12.2022 20:56, Frédéric Ravetier wrote: I tried to switch the jar on the environment where there is the application that sign the PDF in order to use th

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Frédéric Ravetier
I tried to switch the jar on the environment where there is the application that sign the PDF in order to use the snapshot. Here the pdf I got : https://drive.google.com/file/d/1zwV0i3SCQrqxRICpVWhbR09Of2FD0Ur7/view?usp=sharing But it looks the same in acrobat :(. Best regards, Fred Le ven. 16 dé

Re: Links in pdf cause exception

2022-12-16 Thread Tilman Hausherr
On 16.12.2022 15:52, Tilman Hausherr wrote: This is weird, /D [5 0 R /Fit] means the array has two elements?! What I mean is that this seems correct (if object 5 is a page) I suspect you have [ /Fit ] somewhere in the PDF. (The spaces are optional) Tilman

Re: Links in pdf cause exception

2022-12-16 Thread Tilman Hausherr
Hi, Sorry for the late answer. Please share the PDF, your screenshots didn't get through. This is weird, /D [5 0 R /Fit] means the array has two elements?! Maybe the "bad" object is elsewhere? Tilman On 01.12.2022 10:32, Thomas Sörensen wrote: Hi I have pdf file with a lot of links. They

RE: Merging font subsets

2022-12-16 Thread Mark Gibson
It does, but it's tightly coupled with FOP, and not the most straight-forward of code - especially for someone only just starting out on their PDF/Font journey of discovery. Was hoping someone might have something independent, maybe even with comments 😊 Thanks for the reference though. I'll t

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Frédéric Ravetier
I read the issue too quickly. The problem is on DSS side, and the jar file should be modified on my provider side. I will see if we can perform this test on a dev environment. Le ven. 16 déc. 2022 à 13:06, Tilman Hausherr a écrit : > On 16.12.2022 12:59, Frédéric Ravetier wrote: > > Good idea, I

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Tilman Hausherr
On 16.12.2022 12:59, Frédéric Ravetier wrote: Good idea, I can try to use the latest snapshot jar. Is there a snapshot build (jar) available? https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.28-SNAPSHOT/ --

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Frédéric Ravetier
Good idea, I can try to use the latest snapshot jar. Is there a snapshot build (jar) available? Le ven. 16 déc. 2022 à 12:21, Tilman Hausherr a écrit : > Yeah, Adobe claims that the stamp annotation was modified. > > despite that it wasn't. The stamp annotation is object "40 0 obj" and that > on

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Tilman Hausherr
Yeah, Adobe claims that the stamp annotation was modified. despite that it wasn't. The stamp annotation is object "40 0 obj" and that one exists only once at offset 58158 (related objects 41-45 also exist only once). So I'd say Adobe is lying. However... this may be a coincidence, but your si

Re: Merging font subsets

2022-12-16 Thread sahy...@fileaffairs.de
Am Freitag, dem 16.12.2022 um 10:31 + schrieb Mark Gibson: > Hi, > > I'm wondering if anyone cleverer than me has been able to figure out > how to take a PDF, analyse all the embedded font subsets, and merge > disparate subsets of the same font together (or even escalate to full > font set).

Merging font subsets

2022-12-16 Thread Mark Gibson
Hi, I'm wondering if anyone cleverer than me has been able to figure out how to take a PDF, analyse all the embedded font subsets, and merge disparate subsets of the same font together (or even escalate to full font set). Google has a small number of similar requests, but little to no solution

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Frédéric Ravetier
Hello, Thank you for your answer. * Text annotation that match PDFAnnot.java : https://drive.google.com/file/d/1Qgq_RuXSsn3IEZb5eZV5HVIXWeIrVZbk/view?usp=sharing * Stamp annotation that match PDFAnnotStampText.java https://drive.google.com/file/d/1MuV_N8meU778dwb0pjdi-cWZVFxHi9mG/view?usp=sharing

Re: PDFBox + Signature + annotation + Signature

2022-12-16 Thread Tilman Hausherr
Hi, Please upload (to a sharehoster) a final PDF that you think is correct and one that you think isn't. Tilman On 15.12.2022 18:40, Frédéric Ravetier wrote: Hello to everyone, I'm trying to do this use case: Input : A document that contains a digital signature (our provider is using DCC h