pdfbox 3.0.0 upgrade, flatten method causes garbage

2023-09-15 Thread Pados Attila
Our application uses 2.0.29 version without any problem. I am trying to upgrade to 3.0.0. The application follows the pattern of loading in a template pdf, which was edited to have some fields, with title and default value. The program later updates the field's value, and then calles flatten() on

Re: pdfbox 3.0.0 upgrade, flatten method causes garbage

2023-09-18 Thread Pados Attila
nt/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.1-SNAPSHOT/ > > Tilman > > On 16.09.2023 05:05, Tilman Hausherr wrote: > > This sounds similar to > > https://issues.apache.org/jira/browse/PDFBOX-5666 > > > > Tilman > > > > On 15.09.2023 23:40, P

Re: pdfbox 3.0.0 upgrade, flatten method causes garbage

2023-09-18 Thread Pados Attila
private static Predicate checkBeingPdPushButton() { return f -> !(f instanceof PDPushButton); } this was left from previous mail On Mon, Sep 18, 2023 at 8:25 PM Pados Attila wrote: > Hi, > thanks for help! > > I could finally try the 3.0.1-SNAPSHOT version, an hour ago. The ma

empty/missing pdf content

2023-09-19 Thread Pados Attila
Template pdf https://drive.google.com/file/d/1mbvN9RDKoesy0tJbj3GCO4VkMPjxYw5c/view?usp=sharing Pdf generated with pdfbox 3.0.0 without restricting flatten's input fields https://drive.google.com/file/d/1mbvN9RDKoesy0tJbj3GCO4VkMPjxYw5c/view?usp=sharing there should be a text AB Manuel Test --

Re: empty/missing pdf content

2023-09-20 Thread Pados Attila
is missing. > > BR > Maruan > > Am Dienstag, dem 19.09.2023 um 20:43 +0200 schrieb Pados Attila: > > Template pdf > > > > > https://drive.google.com/file/d/1mbvN9RDKoesy0tJbj3GCO4VkMPjxYw5c/view?usp=sharing > > > > Pdf generated with pdfbox 3.

Re: empty/missing pdf content

2023-09-26 Thread Pados Attila
_Test.pdf file has the font file missing, this does look > similar to the problem fixed recently. > > Tilman > > On 20.09.2023 20:23, Pados Attila wrote: > > https://drive.google.com/file/d/1LD0joGW9OnrXFPaY-HXZkwyKfFoCIe5L/view > > > > sorry, I was in a hur

Re: empty/missing pdf content

2023-10-03 Thread Pados Attila
at 3:04 PM Pados Attila wrote: > Hi, so far the team delayed swapping pdfbox version, so I can only > work on this on my own. > > I will make a simple command line application, or a unit test, that > would imitate what the webapp does, using pdfbox 3, and first > reproduce the er

Re: how to replace MemoryUsageSetting.setupMixed(100mb) ?

2023-10-05 Thread Pados Attila
I am using something like this: PDDocument a1doc = Loader.loadPDF(new RandomAccessReadBuffer(resourceAsStream), () -> new ScratchFile(MemoryUsageSetting.setupMixed(100))); (I use it with tempFileOnly, but the rest are the same) On Thu, Oct 5, 2023 at 9:50 PM John Lussmyer wrote: > > I'm trying

Re: empty/missing pdf content

2023-10-16 Thread Pados Attila
OX-5696 > >> > >> Tilman > >> > >> > >> On 07.10.2023 11:24, Tilman Hausherr wrote: > >>> The file "/pdf/Template.pdf" is missing in both projects. > >>> > >>> So it produces only one file. There is a difference, 2

Re: empty/missing pdf content

2023-10-17 Thread Pados Attila
; > Am 16.10.23 um 23:43 schrieb Pados Attila: > > I fixed the issue with missing input pdf file, and also re-run this test > > project with the most fresh 3.0.1-SNAPSHOT version. (oct 5th) > > So far, the character distortion remains, > That isn't the most recent version

Re: A common interface for the subclasses of PDAbstractContentStream

2025-03-05 Thread Pados Attila
*As the class is still abstract,it is impossible as well to create an instance of the class itself.* I think you can create an anonymous class instance. On Wed, Mar 5, 2025 at 5:44 PM Andreas Lehmkühler wrote: > OK, I see you are looking for a common handle for all classes to > simplify your