[iText-questions] PdfSmartCopy error since 5.4.1

2013-06-20 Thread mikkokupsu
I have two PDF files that I concatenate using PdfSmartCopy. Since 5.4.1 texts in second PDF on concatenated PDF are not ok. Compare pdf2.pdf with last page of pdf2.pdf. public static void main(String[] args) throws Exception { final String[] files = new String[]

[iText-questions] Error extracting images — getting NullPointerException in LZWDecoder

2013-06-20 Thread itextuser01
I am using iText v5.4.2. I am trying to parse images from a PDF file. I get NullPointerException for certain images in certain PDF files. The PDF file with one faulty image can be downloaded here: https://dl.dropboxusercontent.com/u/3585277/LZW_Error.pdf

[iText-questions] iText pdf rotation, resulting PDF displays out of memory in adobe.

2013-06-20 Thread Zoharat
Following is a code snippet creating a pdf file where pages could be rotated in the resulting file. This works fine for most pdf files. But one particualr pdf file of version 1.6 the page is already rotated by 180, on applying further rotation to it e.g. 90 degress and saving the file causes it to

Re: [iText-questions] iText pdf rotation, resulting PDF displays out of memory in adobe.

2013-06-20 Thread Zoharat
AbobeAcrobat_Version1-6.pdf http://itext-general.2136553.n4.nabble.com/file/n4658566/AbobeAcrobat_Version1-6.pdf -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-pdf-rotation-resulting-PDF-displays-out-of-memory-in-adobe-tp4658565p4658566.html Sent from the

Re: [iText-questions] iText pdf rotation, resulting PDF displays out of memory in adobe.

2013-06-20 Thread Andrew J Daykin
Hello, Perhaps the answer is in the post com.lowagie.text.Document I would try using an up to date version of the library. Regards, Andrew == On 20/06/2013 13:10, Zoharat wrote: Following is a code snippet creating a pdf file where pages could be rotated in the resulting file.

[iText-questions] Generated PDF differs on Windows vs Linux

2013-06-20 Thread Cynthia Jeness
I am generating a PDF file to print labels which must be precise dimensions. If I generate the labels on my Linux development computer, the dimensions on my labels are exactly what I expect (3-1/8 X 2). However, when I run the same code under Windows 7, the generated PDF produces labels

[iText-questions] PDF File Generated on Windows vs. Linux

2013-06-20 Thread Cynthia Jeness
We are trying to generate a file of labels. My development computer is Ubuntu Linux and the PDF that I generate creates labels which are the correct size (3-1/8 x 2).I am specifying the Helvetica font family. The PDF file generated prints correctly on both Linux and Windows. However, when I

Re: [iText-questions] Generated PDF differs on Windows vs Linux

2013-06-20 Thread Jacob Certain
On 2013-06-20 09:42, Thu, Cynthia Jeness wrote: I am generating a PDF file to print labels which must be precise dimensions. If I generate the labels on my Linux development computer, the dimensions on my labels are exactly what I expect (3-1/8 X 2). However, when I run the same code

Re: [iText-questions] Generated PDF differs on Windows vs Linux

2013-06-20 Thread Cynthia Jeness
No, we are not embedding. We defined the font as the Helvetica family along with the font size and style in a separae parameter file and then create the font as follows: Font font = new Font(FontFactory.getFont( item.getFont().family,

[iText-questions] ItextSharp, html, colums like newspaper

2013-06-20 Thread Albert Cortada
Hi, I have a problem with i-textSharp and i do not know how to solve it. The scenario is that I have a html text saved in my database. And I have to make a pdf with that text. The text can have div, img, p , ul, li and other html elements. I have to render the pdf in two columns as if

[iText-questions] java design pattern

2013-06-20 Thread Leo Donahue - RDSA IT
iText5.4.0 - Java version I have the 2007 iText in Action text and I'm reading through chapter 17 where it talks about using the ByteArrayOutputStream in web applications. I see the examples in the text show generating a pdf using a servlet and all the plumbing takes place in the servlet

Re: [iText-questions] Generated PDF differs on Windows vs Linux

2013-06-20 Thread Jacob Certain
On 2013-06-20 12:30, Thu, Cynthia Jeness wrote: No, we are not embedding. We defined the font as the Helvetica family along with the font size and style in a separae parameter file and then create the font as follows: If you're not embedding the font, then the font actually rendered might

[iText-questions] Application stopped unexpectedly

2013-06-20 Thread Joed Cueto
Hi, I have an application that convert an inputSteam to pdf. Below is the content of the method that converts input stream to pdf. However, the application suddenly stopped on line *RandomAccessFileOrArray ra = new RandomAccessFileOrArray(inputStream); *without throwing any error or exception