Re: [iText-questions] Does itext support GTIN-14 bearer bars

2007-05-01 Thread Paulo Soares
- Original Message - From: "Tony Roza" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 01, 2007 2:14 AM Subject: [iText-questions] Does itext support GTIN-14 bearer bars > GTIN-14 is often displayed with bearer bars. That is, solid bars across > the > top and bottom of the bar code. > > Do

[iText-questions] iTextSharp: table class

2007-05-01 Thread Lawrence Tsosie
Good day. I was reading iText In Action and in the book it states that the major disadvantage of the Table class is that it's no longer supported. My current development requires the output in PDF, HTML, and RTF format. Besides submitting questions regarding the Table class, is there any docume

Re: [iText-questions] query regarding japanese fonts not appearing in the PDF

2007-05-01 Thread Abhishek Vaidya
Hi, My apologies for the delay in response. Actually I was trying few things on this on different machines. As suggested I broke the conversion into steps. The characters occur in the JPanel. Our use case is that we first use Icebrowser to render the URL as a JPanel and then use itext to con

Re: [iText-questions] query regarding japanese fonts not appearingin the PDF

2007-05-01 Thread Paulo Soares
I would like to see one PDF that works and one PDF that doesn't. Based on what you say you did, it shouldn't have worked in any machine. Have a look at http://downloads.sourceforge.net/jfreechart/jfreechart2pdf-v2.pdf. Paulo - Original Message - From: "Abhishek Vaidya" <[EMAIL PROTECTED

Re: [iText-questions] query regarding japanese fonts notappearingin the PDF

2007-05-01 Thread Abhishek Vaidya
Here are the PDFs attached. I will go through the link you gave Abhishek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Tuesday, May 01, 2007 5:58 PM To: Post all your questions about iText here Subject: Re: [iText-questions] query rega

Re: [iText-questions] query regarding japanese fonts notappearinginthe PDF

2007-05-01 Thread Abhishek Vaidya
Adding one more thing. On the machine on which it worked fine, if I move the Arial MS Unicode font to some other directory then Japanese fonts don't appear. If I move it back to the original directory then Japanese fonts start appearing again. This font is being used somewhere Abhishek -Origi

Re: [iText-questions] query regarding japanese fonts notappearingin the PDF

2007-05-01 Thread Leonard Rosenthol
Neither of these documents view properly with Acrobat 8 Pro on Mac OS X because you haven't embedded the font. Embedding of fonts is a NECESSITY!! Leonard On May 1, 2007, at 8:37 AM, Abhishek Vaidya wrote: > Here are the PDFs attached. I will go through the link you gave > Abhishek > -

Re: [iText-questions] query regarding japanese fonts notappearinginthe PDF

2007-05-01 Thread Abhishek Vaidya
Embedding of the fonts is a necessity only if the system doesn't have the required font. If you open these PDFs on a system with Arial MS Unicode font installed you would be able to see the difference between the two PDFs. Always embedding the fonts is not a good option as it can make the PDF size

Re: [iText-questions] query regarding japanese fonts notappearinginthe PDF

2007-05-01 Thread Leonard Rosenthol
On May 1, 2007, at 9:20 AM, Abhishek Vaidya wrote: > Embedding of the fonts is a necessity only if the system doesn't have > the required font. True - but how do you guarantee that?Mac OS X nor Linux includes that font, and in fact most standard Windows distribution don't either.

Re: [iText-questions] query regarding japanese fontsnotappearinginthe PDF

2007-05-01 Thread Paulo Soares
There's an extra problem here in that iText doesn't support Identity-H fonts not embedded. Just removing the font stream doesn't make it a not embedded font. It can be done but not with the current structure. In other words, even if it works with the font present in the system, it's by accident

[iText-questions] Strange positioning writing to PdfContentByte using PdfStamper

2007-05-01 Thread Christoper Martin
I need to be able to reliably position text at the bottom of the page across many pdf files. My code intended to add footer text to a pre-existing pdf looks something like this: ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfReader reader = new PdfReader(imageBytes); PdfStamper st

Re: [iText-questions] Strange positioning writing to PdfContentByteusing PdfStamper

2007-05-01 Thread Mark Storer
Oh boy. 1) You cannot be sure that any given PDF page is going to be Page.LETTER size. You really need to check. You also need to check the page's rotation. There are at least 3 (and really 4, but the last one is beyond stupid) legitimate ways to create a landscape page: 8.5 x 11 rotated 90

Re: [iText-questions] Strange positioning writing to PdfContentByteusing PdfStamper

2007-05-01 Thread Paulo Soares
The positioning is done relative to the media box but the visible part is defined by the crop box. You can get the crop box information in PdfReader. You have more details in the PDF reference in the section "10.10.1 Page Boundaries". Paulo - Original Message - From: "Christoper Martin"

Re: [iText-questions] Tiff conversion to PDF Issue

2007-05-01 Thread Yedda
Hi, I've got the same problem. Please set the first page size before opening the document. This means you have to locate the code "document.open();" within for loop "comps" Yedda -- View this message in context: http://www.nabble.com/Tiff-conversion-to-PDF-Issue-tf3487433.html#a10272957 Sen

[iText-questions] Using ByteArrayOutputStream in addition to PdfImportedPage not working well.

2007-05-01 Thread [EMAIL PROTECTED]
Hello all, I currently am trying to merge an existing PDF document with my ByteArrayOutputStream into a new PDF. The ByteArrayOutputStream works well. When I add the following: PdfReader reader = new PdfReader(srctemplate); PdfImportedPage page = docWriter.getImportedPage(reader,1); cb.add

Re: [iText-questions] Using ByteArrayOutputStream in addition toPdfImportedPage not working well.

2007-05-01 Thread Paulo Soares
Pages with transparency, I suppose. Even if it's not the case you can blame the printer driver. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, May 01, 2007 7:41 PM Subject: [iText-questions] Using ByteArrayOutputStream in addition toPdfImportedPage not working

Re: [iText-questions] Using ByteArrayOutputStream in addition toPdfImportedPage not working well.

2007-05-01 Thread [EMAIL PROTECTED]
What do you mean pages with transparency?? Thanks, B --- Paulo Soares <[EMAIL PROTECTED]> wrote: > Pages with transparency, I suppose. Even if it's not > the case you can blame > the printer driver. > > Paulo > > - Original Message - > From: <[EMAIL PROTECTED]> > To: > Sent: Tuesday

Re: [iText-questions] Using ByteArrayOutputStream in additiontoPdfImportedPage not working well.

2007-05-01 Thread Paulo Soares
Transparency must be flattened before printing and that can take a long time depending on the printer driver. You say that it prints but takes a long time. As iText doesn't do any printing you should look for the problem elsewhere. Maybe it prints faster in another type of printer, who knows. P

[iText-questions] IE won't open my pdfs. Other details: spring, tiles, jboss

2007-05-01 Thread Mueller, Dan
I'm a total newbie, and I didn't see this addressed yet on this list. When I try to open an itext-generated pdf in a new window, from my web app, IE complains: The file you are downloading cannot be opened by the default program. (diddy-blah-blah-blah) So, I have the option to Save the file or

[iText-questions] Sign and secure

2007-05-01 Thread Alain Haentjens
Hi, I try to use Itextsharp to sing and secure a PDF file but unfortunately, if I secure the PDF, I'm not able to sign it and if I sign it, I can't secure it. Could you please let me know how can I combine both methods ? Thanks, Alain ---

Re: [iText-questions] Sign and secure

2007-05-01 Thread Paulo Soares
Just after creating the PdfStamper for signing call SetEncryption(). Paulo - Original Message - From: "Alain Haentjens" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 01, 2007 10:54 PM Subject: [iText-questions] Sign and secure > Hi, > > > > I try to use Itextsharp to sing and secure a PD