Re: Choosing a font for non-ASCII characters

2019-01-30 Thread Matthew Self
Google's Noto fonts support a huge number of Unicode characters: https://www.google.com/get/noto/ You would need to install the ones you need. I believe you will also need to figure out which fonts to use for which characters on your own -- possibly by knowing the language/script you are targetin

Re: Choosing a font for non-ASCII characters

2019-01-30 Thread Andreas Lehmkuehler
Hi, the standard pdf font (PDType1Font.HELVETICA et. al.) don't support anything else than (limited) latin1. You have to use something else. Have a look at the HelloWorldTTF example [1]. It shows how to embed a true type font. You have to choose a suitable font from your OS or something like

Re: Flattening (?) Problem 2.0.5->2.0.11

2019-01-30 Thread Tilman Hausherr
Hi, The current version is 2.0.13. Did you try with that one? Also try with a 2.0.14 snapshot https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.14-SNAPSHOT/ and please share the source file, and modify the code so that the fifth parameter of PDPageConten

Flattening (?) Problem 2.0.5->2.0.11

2019-01-30 Thread Aaron Mulder
I have a PDF workflow where I take a base document with forms, then append a footer that puts values in the form fields and save the result, then open it with PDFBox and flatten it: doc = PDDocument.load(tempFile); doc.getDocumentCatalog().getAcroForm().flatten(); Then I add an image to the page

Choosing a font for non-ASCII characters

2019-01-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, We are using PDFBox to generate PDFs in a very simple way and only including fonts available from the PDType1Font class (e.g. PDType1Font.HELVETICA). The PDFs we are generating are really only including a few title/subtitles, text, and bullet

Re: Any issues converting from pdf to postscript? we are having a huge delay

2019-01-30 Thread Tilman Hausherr
Am 30.01.2019 um 21:17 schrieb Rick Gallo: Hi, all, Any issues converting from pdf to postscript?  We are using a graphics program to create pdfs, then for the first time, we are trying to convert to them but we are having a huge delay. PDFBox does not convert to postscript. It's possible

Any issues converting from pdf to postscript? we are having a huge delay

2019-01-30 Thread Rick Gallo
Hi, all, Any issues converting from pdf to postscript? We are using a graphics program to create pdfs, then for the first time, we are trying to convert to them but we are having a huge delay. At Your Service, Rick Gallo Pre-Print Manager Redstone Print and Mail, Inc. (925) 335-9090 Office (8

Re: Fwd: Memory Errors with PDFBOX

2019-01-30 Thread Tilman Hausherr
It would be interesting if the issue could be reproduced with PDFBox alone, i.e. just load the file (or rather, the input stream, so it seems) in the Tomcat servlet. If it can be reproduced - would it be possible to set up a non AWS tomcat with the same problem? And if yes, what are the settin

Fwd: Memory Errors with PDFBOX

2019-01-30 Thread Tim Allison
forwarding to the correct pdfbox address... sorry for the noise... -- Forwarded message - From: Tim Allison Date: Wed, Jan 30, 2019 at 10:29 AM Subject: Re: Memory Errors with PDFBOX To: , Jim , @PDFBox colleagues, Any thoughts/recommendations? On Wed, Jan 30, 2019 at 9:43 A