https://bugs.winehq.org/show_bug.cgi?id=50885
Bug ID: 50885 Summary: PdfSharp creates invalid PDF files Product: Wine Version: 6.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lauri.kentta@gmail.com Distribution: ---
Created attachment 69696 --> https://bugs.winehq.org/attachment.cgi?id=69696 Minimal example with PdfSharp
PdfSharp (PDF library for .NET) creates invalid PDF files on Wine. Ghostscript is able to fix the files but reports: ”Error: Unknown operator: '-..' looks like a malformed number, replacing with 0.”
I've attached a shell script which builds a minimal example with C# / PdfSharp and demonstrates the error with Ghostscript. Running with Mono (without Wine) works. Debugging further would probably need a dive into PdfSharp.
In practice, this affects Purple Pen course setting software for orienteering.