Re: while trying to get font PDType1Font.HELVETICA , the code seems to get stuck on AIX machine

2018-10-31 Thread Maruan Sahyoun
Hi, when you write ".. stuck .." what do you mean by that. Are there any messages in the jboss server log? Any reason you are not using the newer version of PDFBox 2.0? The final release of PDFBox 2.00 was in May 2016. Current version is 2.0.12. Most likely your issue is related to fonts not

Re: while trying to get font PDType1Font.HELVETICA , the code seems to get stuck on AIX machine

2018-10-31 Thread Maruan Sahyoun
Hi, > Hi , > > stuck means there is no log on jboss server, I also added STDERR in > servlet at each line and there i found that the next line after the code > " PDFont font = PDType1Font.HELVETICA; " is not getting executed and > there was no response from server > > reason for using old

while trying to get font PDType1Font.HELVETICA , the code seems to get stuck on AIX machine

2018-10-31 Thread Sushant
Hi , I am using pdfbox-app-2.0.0-RC3 , In a servlet there is code to create pdf with text using  PDType1Font.HELVETICA font , this servlet when deployed on tomcat server on windows machine generated pdf properly, but when the same servlet is deployed on a jboss server which is on AIX

Re: while trying to get font PDType1Font.HELVETICA , the code seems to get stuck on AIX machine

2018-10-31 Thread Sushant
Hi , stuck means there is no log on jboss server,  I also added STDERR in servlet at each line and there i found that the next line after the code " PDFont font = PDType1Font.HELVETICA; " is not getting executed and there was no response from server reason for using old pdfbox is because

Re: unable to convert scanned pdf to jpg using pdf box with JBIG2 ImageIO 3.0.2

2018-10-31 Thread Tilman Hausherr
Hi, This is a bug in the oracle jpeg2000 decoder. See at the bottom of https://issues.apache.org/jira/browse/PDFBOX-1752 on how to fix this. You need to get the decoder sources and make a few changes and build. Tilman Am 31.10.2018 um 10:31 schrieb ACE: Hi, The error is Cannot read

Re: while trying to get font PDType1Font.HELVETICA , the code seems to get stuck on AIX machine

2018-10-31 Thread Tilman Hausherr
Am 31.10.2018 um 16:10 schrieb Sushant: Hi , I am using pdfbox-app-2.0.0-RC3 If you are using such an outdated version in your servers, you (or whoever is responsible) is putting the company / the clients at risk: - there is no system in place to check for new versions (e.g. the versions

Re: Extract Skewed Text

2018-10-31 Thread Tilman Hausherr
It might work with 1.8. However that version has other weaknesses. Tilman Am 31.10.2018 um 21:19 schrieb Luca Loiodice: Is it possible to extract the 2 lines of text from this page? https://www.dropbox.com/s/2uh3p464i7iwjwv/textonanangle.pdf?dl=0 This is the text lines I get using standard

Re: Extract Skewed Text

2018-10-31 Thread Luca Loiodice
I am using 2.0.X and have to support arbitrary input PDF (including 90,180,270 orientations, multi-column text, etc..). Everything works fine except for the text on angle. I came up with 2 pass call to the PDFStripper. Getting standard oriented text using SortByPosition=false and getting

Extract Skewed Text

2018-10-31 Thread Luca Loiodice
Is it possible to extract the 2 lines of text from this page? https://www.dropbox.com/s/2uh3p464i7iwjwv/textonanangle.pdf?dl=0 This is the text lines I get using standard PdfStripper Tex t on e o n a n a ngl e Text two on an angle Thanks a lot, Luca

Re: Extract Skewed Text

2018-10-31 Thread Tilman Hausherr
Am 31.10.2018 um 22:07 schrieb Luca Loiodice: I am using 2.0.X and have to support arbitrary input PDF (including 90,180,270 orientations, multi-column text, etc..). Everything works fine except for the text on angle. I came up with 2 pass call to the PDFStripper. Getting standard oriented text

unable to convert scanned pdf to jpg using pdf box with JBIG2 ImageIO 3.0.2

2018-10-31 Thread ACE
Hi, I am using pdfbox 2.0.12 with extension, JBIG2 ImageIO 3.0.2. I am unable to convert the attached pdf to jpg. Converted jpg show white background only. Regards, Ace - To unsubscribe, e-mail:

Re: unable to convert scanned pdf to jpg using pdf box with JBIG2 ImageIO 3.0.2

2018-10-31 Thread Tilman Hausherr
Am 31.10.2018 um 07:38 schrieb ACE: Hi, I am using pdfbox 2.0.12 with extension, JBIG2 ImageIO 3.0.2. I am unable to convert the attached pdf to jpg. Converted jpg show white background only. Hello, Please upload your PDF somewhere, PDF attachments are usually deleted. Please tell also

Re: unable to convert scanned pdf to jpg using pdf box with JBIG2 ImageIO 3.0.2

2018-10-31 Thread ACE
Hi, The error is Cannot read JPEG2000 image: java advance imaging(JAI) image i/o tools are not installed. Subsequently I added jai-imageio-jpeg2000 1.3.0 and jai-imageio-core 1.4.0 and the image converted has black dots all over. Pdf and converted image can be found in google drive: