Thanks for the reply! I'd expect PDFBox to gracefully handle it instead of crashing, kinda like https://issues.apache.org/jira/browse/PDFBOX-3500.
The example PDF for reproducing the bug can be found here <https://drive.google.com/file/d/1WJYYLQ6WkEGIHX5H7DDkz8QBBNE_cm45/view?usp=drive_link> . On Sat, May 25, 2024 at 10:53 AM Tilman Hausherr <thaush...@t-online.de> wrote: > Hi, > > Why do you think this is a bug, and what would you expect instead? > Please upload your file to a sharehoster, attachments are blocked. > > Tilman > > On 25.05.2024 19:47, Lucky Python wrote: > > I'd like to report a bug. > > > > [Description] > > PDDocument.load(inputFile) crashes when parsing malformed ItalicAngle. > > It is 100% reproducible with the attached PDF file as the > > inputFile parameter. > > > > [PDFBox versions] > > Reproduced with both PDFBox 2.0.27 & 2.0.31 > > > > [Stack trace] > > Exception in thread "main" ...... > > Caused by: java.io.IOException: Error expected floating point number > > actual='-12.-1' > >