AW: Jagged lines in Graph when printing with PDFBox 2.0.23

2021-04-07 Thread Andrin Meier
Yes, the file is created using Vega/d3.js, exported to SVG and then put into a word document with Aspose. Aspose also has a print functionality. They don't have this bug but they have other bugs. That's why I resorted to pdfbox. Isn't there a native way of printing PDFs on Windows 10 without hav

AW: AW: Jagged lines in Graph when printing with PDFBox 2.0.23

2021-04-07 Thread Tilman Hausherr
why not print from SVG? Apache Batik should be able to do that. (but if the double line is there, you might end up with the same problem) Tilman --- Original-Nachricht --- Von: Andrin Meier Betreff: AW: Jagged lines in Graph when printing with PDFBox 2.0.23 Datum: 07. April 2021, 9:12 An: user

AW: AW: Jagged lines in Graph when printing with PDFBox 2.0.23

2021-04-07 Thread Andrin Meier
Because the SVG is embedded inside a word document and the word document as a whole has to be printed. I've also tried converting each PDF page to an image and printing that instead but that gave the same results. Von: Tilman Hausherr Gesendet: Mittwoch, 7. April

java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDDocument

2021-04-07 Thread Lachlan Deck
Hi all, We’re periodically seeing the above exception in a spring-boot api using PDFBox 2.0.21. When that occurs the only remedy appears to be restarting the api, after which it hums along fine for a day and then hits this error again. We’re producing pdfs with jasper (plus taking some optiona

Re: Jagged lines in Graph when printing with PDFBox 2.0.23

2021-04-07 Thread Tilman Hausherr
Am 07.04.2021 um 09:12 schrieb Andrin Meier: Yes, the file is created using Vega/d3.js, exported to SVG and then put into a word document with Aspose. Aspose also has a print functionality. They don't have this bug but they have other bugs. That's why I resorted to pdfbox. Isn't there a native

Re: Jagged lines in Graph when printing with PDFBox 2.0.23

2021-04-07 Thread Tilman Hausherr
"We will review your report and have assigned it an internal review ID : 9069812. Depending upon the completeness of the report and our ability to reproduce the problem, either a new bug will be posted, or we will contact you for further information. We will try to process all newly posted bug

AW: Empty cmap in TTF Files.

2021-04-07 Thread Gunnar Brand
Hi Constantine I worked on it a bit. In the end I don't render the HOCR directly but simply transfer the Tesseract PDF data over to the PDF. For this I clone the glyphless font (which is embedded as resource in the jar) and add it to the target page and then while transfering the PDF data change

Re: java.lang.NoClassDefFoundError: Could not initialize class org.apache.pdfbox.pdmodel.PDDocument

2021-04-07 Thread Andreas Lehmkuehler
Hi, could be an issue with the static initialization of PDDocument due to the java.util.concurrent.ExecutionException but this is just a wild guess. We need a test case to reproduce this but I'm afraid that isn't that easy as concurrency issues are likely not deterministic. But maybe someone