Re: [iText-questions] Consideration to Use iText

2006-05-02 Thread bruno
Prince Soundararajan wrote: another reason why I need this is to keep management happy. Last year there was a conference about Government Technology Evolution in Australia. https://www.iqpc.com/cgi-bin/templates/document.html?topic=592&event=7590&document=56740 One of the workshops was about

RE: [iText-questions] Consideration to Use iText

2006-05-02 Thread Alan
Hi Prince, I apologise, in advance, because my response was an act of whimsy. (I'm having a bad morning and acted in haste.) I am a GIS contractor working for, among other people, the NSW Dept of Lands. I have been using iTextSharp to develop interactive PDF maps from GIS documents and have found

RE: [iText-questions] Consideration to Use iText

2006-05-02 Thread Prince Soundararajan
Thanks for your confirmation Alan. Please can I use your company name as reference, just in a report that you are an iText user in Australia. Cheers, Prince >>> [EMAIL PROTECTED] 03.05.2006 10:48:13 am >>> I can confirm it works "upside-down" - once you know what you're doing. AlanK -Origin

Re: [iText-questions] Consideration to Use iText

2006-05-02 Thread Paulo Soares
"Keep the management happy" is always the problem. They usually don't believe that support can be given from the other side of the world. Paulo - Original Message - From: "Prince Soundararajan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; Sent: Wednesday, May 03, 2006 1:41 AM Subject

RE: [iText-questions] Consideration to Use iText

2006-05-02 Thread Alan
I can confirm it works "upside-down" - once you know what you're doing. AlanK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, 3 May 2006 10:21 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Conside

Re: [iText-questions] Consideration to Use iText

2006-05-02 Thread Prince Soundararajan
Hi Paulo, Thanks for replying ;-) We are confident the code will work and also aware it is open source (no licensing issues) , but we are looking for an assurance that big corporates have made use of this down under. This assurance will help us get support personnel if we need within this coun

RE: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Alan
Okay, then I've got more learning to do... Thanks AlanK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, 3 May 2006 10:18 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] TrueTypeFont displays wrong c

Re: [iText-questions] Consideration to Use iText

2006-05-02 Thread Paulo Soares
The question has to do with licensing issues or are you afraid that the code won't work down under. Paulo - Original Message - From: "Prince Soundararajan" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 03, 2006 12:45 AM Subject: [iText-questions] Consideration to Use iText Hi There,

Re: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Paulo Soares
The first one will give you 6 characters and has nothing to do with Unicode. The second one will give you a single and correct character. Paulo - Original Message - From: "Alan" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 03, 2006 12:51 AM Subject: RE: [iText-questions] TrueTypeFont

RE: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Alan
string uCode = String.Format("\\u{0:x4}", cms.CharacterIndex); and string uCode = new String((char) cms.CharacterIndex, 1); give entirely different results from: template.ShowTextAligned(PdfContentByte.ALIGN_CENTER, uCode, width/2, 0, 0); -Original Message- From: [EMAIL PROTECTED] [ma

[iText-questions] Consideration to Use iText

2006-05-02 Thread Prince Soundararajan
Hi There, We are a large telecommunications company based in Australia and we are considering to use iText. We have some concerns as to the usage of iText in the Australia context. We know for a fact, it has been implemented in a wide variety of places around the world, but we would like some c

Re: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Paulo Soares
In this case it's the same, the font really covers iso-8859-1. Paulo - Original Message - From: "Alan" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 02, 2006 11:41 PM Subject: RE: [iText-questions] TrueTypeFont displays wrong characters Okay, I've got it: use the string from character

RE: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Alan
Okay, I've got it: use the string from character index not the Unicode. D'oh! Thanks again Paulo AlanK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, 3 May 2006 7:57 AM To: itext-questions@lists.sourceforge.net Subject: Re:

RE: [iText-questions] Preserving PDF comments...

2006-05-02 Thread Kalpesh Raval
Hello Leanard,   Yes, I am using the using the pdfwriter object to create the pdf in the memory and then use writer.getimportedpage(reader) to import it   I will try to find some samples, thanks for your help.   Kalpesh From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonar

Re: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Paulo Soares
I don't see where's the problem. Some character will produce a glyph. Did you expect another glyph? And if so why? Paulo - Original Message - From: "Alan" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 02, 2006 10:14 PM Subject: RE: [iText-questions] TrueTypeFont displays wrong characters

RE: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Alan
Thank you for looking at this Paulo. I still can't see how to set the font's symbolic flag - I can't find a method for "setting" a Font font in PdfContentByte. Is it sufficient to just create a Font from the BaseFont? Should I be using some other means of adding the character to the template? Che

[iText-questions] XML and fonts

2006-05-02 Thread Amir Mechouk
Hi, i'm stuck :) I've been trying to create a pdf from XML but i'm stuck on trying to define the fonts. The xml looks something like this Header Some random text More random text To this i defined

[iText-questions] XML and fonts

2006-05-02 Thread Amir
Hi, i'm stuck :) I've been trying to create a pdf from XML but i'm stuck on trying to define the fonts. The xml looks something like this Header Some random text More random text To this i defined

RE: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-05-02 Thread Paulo Soares
Be careful! If the form is filled the <> will not rebuild the appearances and you'll see nothing. You can also use iText to recreate the appearances if needed. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andreas Homrighausen > Sent: Tu

RE: [iText-questions] TrueTypeFont displays wrong characters

2006-05-02 Thread Paulo Soares
Looks good to me although the font should be symbolic. This code: Document doc = new Document(PageSize.A4); PdfWriter writer = PdfWriter.GetInstance(doc, new FileStream("c:\\test456.pdf",FileMode.Create)); doc.Open(); BaseFont bf = BaseFont.CreateFont("c:\\esri_12.ttf", BaseFont.IDENTITY_H, true);

Re: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-05-02 Thread Andreas Homrighausen
Thank you so much! :) Now I 've a workaround and it works fine. I manually changed true to false and the signature appeared! Is this a acrobat bug? Other tools show the signature even with <> Best regards! Andreas Paulo Soares schrieb: The problem is the <> in the acroforms dictionary. If i

[iText-questions] help needed

2006-05-02 Thread Ram karthick
Hi ,    In a Document am adding many tables , so if it is one table presents am getting the content in a single page , if more than one table presents then am getting half in the first page and half in the second page , so in this time am getting an line at the end of the first page ,  

Re: [iText-questions] Preserving PDF comments...

2006-05-02 Thread Leonard Rosenthol
At 11:46 PM 5/1/2006, Kalpesh Raval wrote: When we process a PDF that has some comments in it, the resultant PDF does not preserve the comments from the original PDF   HOW are you "processing a PDF"?  I am guessing that you are doing page importing, in which case the comments won't come

RE: [iText-questions] Signing pdf documents containing forms does not work-Sorry First one without content?!

2006-05-02 Thread Paulo Soares
The problem is the <> in the acroforms dictionary. If it's not there the signature will appear. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andreas Homrighausen > Sent: Tuesday, May 02, 2006 7:38 AM > To: itext-questions@lists.sourcef

Re: [iText-questions] Left Margin Question

2006-05-02 Thread bruno
Adrian Nadeau wrote: Hello, We are trying to create/print a landscaped page using iText (version 1.3). Is there an easy way to get the PDF to print at the very start of the page on the left side (Left Margin). We have tried setting the left margin very low (even setting it to negative numb