[iText-questions] Type 1 font bullet width

2008-05-21 Thread Tony Stevens
Hi, I'm creating a PDF using the low-level PdfContentByte interface, and I need to call getEffectiveStringWidth() to calculate the correct horizontal position. This has been returning incorrect values when the string contains a bullet (U+2022). I've tracked through the source and found that th

[iText-questions] insert HTML into PDF Form field.

2008-05-21 Thread bthorington
Hello, I've been trying to figure out how to put HTML (converted to PDF) into form fields in an existing PDF. I have been able to put images and normal text. I can even convert the HTML into its own PDF file (using HTMLWorker.) Again, I can't see how to load a PDF into a form field on anothe

Re: [iText-questions] iText Toolbox-identifyPges

2008-05-21 Thread Carsten Hammer
I would say the file you are processing uses fonts that are not embedded. The toolbox plugin uses a ghostscript dll that has compiled in all resources with one exception: fonts. It would have been too much for a java webstart application to compile the fonts into the ghostscript dll (though pos

Re: [iText-questions] embed jpeg image in pdf document

2008-05-21 Thread Alexis Pigeon
Hi Ahmad On 21/05/2008, Ahmad Lutat <[EMAIL PROTECTED]> wrote: > Helo > > I am using iText 2.0.4 for java. > > I try to embed a jpeg image which looks ok in e.g. internet explorer. However > the image > looks unsharp wenn embeded in a pdf document. Why? You already asked the very same question o

Re: [iText-questions] text is not showing on PDF file

2008-05-21 Thread Ping Zhang
Thanks a lot for your help, my application is working now by move the addTemplate above the endText(). Ping W. Zhang North Pointe Insurance Group Phone (248) 358-1171 x3279 Email [EMAIL PROTECTED] From: 1T3XT info <[EMAIL PROTECTED]> To: Post all your questions about iText here Date: 05/21

Re: [iText-questions] NullPointerException in PdfDocument.newPage

2008-05-21 Thread 1T3XT info
Abhishek Kaukuntla wrote: > I was working with PDFs the other day and suddenly I got this exception: You should clarify and tell us what you were doing. Do you have a code sample that reproduces the problem? Note that I can reproduce a similar problem caused by the UTF32 support added in iText 2.1

[iText-questions] NullPointerException in PdfDocument.newPage

2008-05-21 Thread Abhishek Kaukuntla
Hello, This is Abhishek mailing you. I was working with PDFs the other day and suddenly I got this exception: Java.lang.NullPointerException At com.lowagie.text.pdf.PdfDocument.newPage (Unknown Source) At com.lowagie.text.pdf.PdfDocument.close (Unknown Source)

[iText-questions] Problems adding bulleted list to table cell

2008-05-21 Thread Ian . Martin
I am trying to add a list bulleted points from some html that are passed in, I can add it to the list ok but when i add the list to the cell i do not get the formating of the bulletpoints. I'm just wondering if this is at all possible. public void GenerateReport(DisplayType dt, ContentType ct, s

Re: [iText-questions] embed jpeg image in pdf document

2008-05-21 Thread 1T3XT info
Ahmad Lutat wrote: > I try to embed a jpeg image which looks ok in e.g. internet explorer. > However the image looks unsharp wenn embeded in a pdf document. Why? PLEASE DO NOT DOUBLE POST QUESTIONS TO THE MAILING LIST!!! ESPECIALLY NOT IF THEY HAVE ALREADY BEEN ANSWERED!!! http://article.gmane.

[iText-questions] embed jpeg image in pdf document

2008-05-21 Thread Ahmad Lutat
Helo I am using iText 2.0.4 for java. I try to embed a jpeg image which looks ok in e.g. internet explorer. However the image looks unsharp wenn embeded in a pdf document. Why? Thanks in advance In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/

Re: [iText-questions] text is not showing on PDF file

2008-05-21 Thread 1T3XT info
Ping Zhang wrote: > > Hello, > > Thank you very much for your reply. about the position > x = 126; y = 512; I used the Abode open the PDF file, and use the > Measuring Tool got the x and y. Will this be a problem? It depends: are you sure the values are expressed in points (72 points = 1 inch)

Re: [iText-questions] text is not showing on PDF file

2008-05-21 Thread Ping Zhang
Hello, Thank you very much for your replay. about the position x = 126; y = 512; I used the Abode open the PDF file, and use the Measuring Tool got the x and y. Will this be a problem? I have also tried using PdfStamper, and the text are still not showing on the PDF file. The reason that I'm u

Re: [iText-questions] Performance benefits to iText 2?

2008-05-21 Thread Andy Levy
On Tue, May 20, 2008 at 4:01 PM, Paulo Soares <[EMAIL PROTECTED]> wrote: > If you're using PdfReader it should be a bit faster but essentially you have > in 2.x more features. I do use PdfReader to pull in my base PDF, then anywhere from 4 to a dozen additional ones, then write the result out to a

Re: [iText-questions] itext - rtf only works with word

2008-05-21 Thread Howard Shank
Michael, Can you send me the bitmap so I can see it also? As for the indent, did you even read all my response? My guess is you did not. Please reread my statement below and NOTE "There are TWO (2) different indents." One for the indent of the symbol from the left and one for the indent betwee

Re: [iText-questions] DFPHeiStd-W5.otf - PDF not opening inAcrobat 8

2008-05-21 Thread Rahul Koul
Thanks Paulo. We will look for the suggested options. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, May 21, 2008 5:01 PM To: Post all your questions about iText here Subject: Re: [iText-questions] DFPHeiStd-W5.otf - PDF not

Re: [iText-questions] DFPHeiStd-W5.otf - PDF not opening inAcrobat 8

2008-05-21 Thread Paulo Soares
(Please use the mailing list.) You can use any ttf font. It may interest you that 2.1.2u has support for fonts in other Unicode planes like simsunb.ttf. Paulo > -Original Message- > From: Rahul Koul [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 21, 2008 10:56 AM > To: Paulo Soares

Re: [iText-questions]

2008-05-21 Thread 1T3XT info
Ahmad Lutat wrote: > Hello Hello, please subscribe to the list if you want to see further answers. > I am using iText for java 2.0.4 to embed jpeg images in a pdf document. > However the image seems to be a bit unsharp in the generated document > though it looks ok e.g. in internet explorer. I

[iText-questions]

2008-05-21 Thread Ahmad Lutat
Hello I am using iText for java 2.0.4 to embed jpeg images in a pdf document. However the image seems to be a bit unsharp in the generated document though it looks ok e.g. in internet explorer. I think the reason is that the image is a bit enlarged. Is it possible to load the image in the ori

Re: [iText-questions] PIN is required twice when signing

2008-05-21 Thread Paulo Soares
Can you post your code using the smartcard? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Baer > Sent: Wednesday, May 21, 2008 7:08 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PIN is required twice when s

Re: [iText-questions] DFPHeiStd-W5.otf - PDF not opening inAcrobat 8

2008-05-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Rahul Koul > Sent: Wednesday, May 21, 2008 8:28 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] DFPHeiStd-W5.otf - PDF not > opening inAcrobat 8 > > Some more

Re: [iText-questions] text is not showing on PDF file

2008-05-21 Thread 1T3XT info
Ping Zhang wrote: > > Hi, > > Please advice on the write data into PDF file. I tried to write data > (text) into the existing PDF file (the PDF file converted from the .TIF > file - using PhotoShop tool), looks like the text was written on the PDF > (when search for the text, it will highlight

Re: [iText-questions] itext - rtf only works with word

2008-05-21 Thread mrhiggins
Howard Shank wrote: > > Hello Michael, > > 1. iText RTF functionality is written to support Word 2003. Some > functionality may or may not work properly in other readers. That said, if > you want to post your code and files so I can review them I'd be happy to > take a look and see what the is

[iText-questions] text is not showing on PDF file

2008-05-21 Thread Ping Zhang
Hi, Please advice on the write data into PDF file. I tried to write data (text) into the existing PDF file (the PDF file converted from the .TIF file - using PhotoShop tool), looks like the text was written on the PDF (when search for the text, it will highlight the position which the text sho

Re: [iText-questions] DFPHeiStd-W5.otf - PDF not opening in Acrobat 8

2008-05-21 Thread Rahul Koul
Some more information: One of my friends was using a much lower version of iText (1.02b) and PDF created with chinese text in it using DFPHeiStd-W5.otf is opening in acrobat 8 as well as 7. However the PDF size is around 2MB for 4-5 line of Chinese text written. Version 2.1.2u creates the same