PDFBOX cache warning and embedded fonts

2018-04-26 Thread Mickael Marrache
Hi, After encountering the following error: java.lang.IllegalArgumentException: U+05E5 ('afii57685') is not available in this font Helvetica encoding: WinAnsiEncoding at org.apache.pdfbox.pdmodel.font.PDType1Font.encode(PDType1Font.java:426) I'm embedding the font I want to use as follows: PDAcr

Re: how to attach an image as annotation to PDF file?

2018-04-26 Thread JZ Q
Hi Tilman, Thank you for info in your previous reply. I tried the code CreateVisibleSignature2 and it works, but I simply want to attach an image of signature at appropriate places in PDF. The agent will print the document with his signature and pass it to client for manual signing. How to use t

Re: bookmark zoom value

2018-04-26 Thread chitgoks
thank you will check it out On Thu, Apr 26, 2018 at 4:59 PM, Gilad Denneboom wrote: > Certainly. For the destination of the bookmark you can use a > PDPageXYZDestination > interactive/documentnavigation/destination/PDPag

Re: bookmark zoom value

2018-04-26 Thread Gilad Denneboom
Certainly. For the destination of the bookmark you can use a PDPageXYZDestination object, which lets you define the zoom level. On Thu, Apr 26, 2018 at 9:1

bookmark zoom value

2018-04-26 Thread chitgoks
hi everyone im currently looking into bookmarks and i saw some post using the PDOutlineItem class. However, it looks like it only contain ways to save the position and the page number. I saw a video in acrobat that the bookmark will also store the zoom value. is this supported in pdfbox? please