Re: [iText-questions] Problem when signing PDF hash in PDF readers. Code error 0x2727

2016-05-03 Thread mkl
Diego, Diego C wrote > I am having trouble digitally signing a pdf hash. This is the > implementation and the solution I have found, which is based on Bruno > Lewagie's Digital Signatures for PDF Documents. The idea is to sign the > PDF hash to avoid taking it to the client. > This is the solution

[iText-questions] Problem when signing PDF hash in PDF readers. Code error 0x2727

2016-03-31 Thread Diego C
Hi, I am having trouble digitally signing a pdf hash. This is the implementation and the solution I have found, which is based on Bruno Lewagie's Digital Signatures for PDF Documents. The idea is to sign the PDF hash to avoid taking it to the client. This is the solution I have come up with: 1. An

[iText-questions] Problem with Arabic text in Combed field

2015-10-11 Thread Fadi H. Rezq
Hi all, I am facing an issue when trying to populate a combed text field with Arabic data. This happens when the field is "highlighted". When I open the PDF, I see that the Arabic string in the "highlighted" field had been reversed so ف ا د ي appears ي د ا ف but when I click on the field, the "hi

Re: [iText-questions] Problem in justified paragraphs for right-to-left languages

2014-12-17 Thread Hossein Noorikhah
Thanks, Yes, this is fixed in 5.5.4. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Ex

Re: [iText-questions] Problem in justified paragraphs for right-to-left languages

2014-12-16 Thread iText mailing list
On 12/16/2014 21:40 PM, Hossein Noorikhah wrote: The problem is still there with iText 5.5.3. Is there any chance of review? Wasn't this fixed in 5.5.4? -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Serv

Re: [iText-questions] Problem in justified paragraphs for right-to-left languages

2014-12-16 Thread Hossein Noorikhah
​​ The problem is still there with iText 5.5.3. Is there any chance of review? 2013-12-06 19:52 GMT+03:30 Hossein Noorikhah : > > Hi, > > I've ​been using iText for some years and I appreciate the quality of its > support for various languages and scripts. Here I want to discuss a problem > in jus

Re: [iText-questions] Problem while copying PDF

2014-09-02 Thread Aritz
soasolutions.com From: iText mailing list [mailto:i...@1t3xt.info] Sent: lunes, 01 de septiembre de 2014 17:49 To: Aritz; Post all your questions about iText here Subject: Re: [iText-questions] Problem while copying PDF Please stay on the mailing-list regarding the technical question.

Re: [iText-questions] Problem while copying PDF

2014-09-01 Thread iText mailing list
Please stay on the mailing-list regarding the technical question. Note that your question is still unclear. In your initial question you say that you have existing PDF documents with links and that you want to change these links upon merging. Now you say: On 9/1/2014 9:21 AM, Aritz wrote:

[iText-questions] Problem while copying PDF

2014-08-29 Thread Aritz
Dear all, I have a problem, hope you can help me. I’m using iText 5.3.2 version, and I have a requirement to satisfy. The problem is as follows: I have one PDF containing 30 pages. The first page is a TOC with links ‘goTo’ to the pages. Now, I have another PDF of 29 pages, that

Re: [iText-questions] Problem with remaining space

2014-05-28 Thread Aritz
time, and time is money. Thanks, I have always received the same kind of answers. From: iText mailing list [mailto:i...@1t3xt.info] Sent: miércoles, 28 de mayo de 2014 11:58 To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with remaining space On 5/28

Re: [iText-questions] Problem with remaining space

2014-05-28 Thread iText mailing list
On 5/28/2014 11:24 AM, Aritz wrote: Hope you can help me, because I don't understand why it works in some cases. I opened the ZIP-file and I saw that your code contains plenty of things that is irrelevant to the question. Use Occam's Razor to simplify your example. You are asking me to spend ti

Re: [iText-questions] Problem with remaining space

2014-05-27 Thread iText mailing list
On 5/27/2014 6:30 PM, Aritz wrote: Could you please help me? I could send some examples if you want Send us a SSCCE and tell us which version of iText you're using. If the version isn't recent, there's very little chance we'll be able to help because the table functionality has been rewritten

[iText-questions] Problem with remaining space

2014-05-27 Thread Aritz
Hi all, I have a problema while calculating the remaining space of the page (in order to check if some content will fit in). Let me explain the scenario: I have two tables, the first one contains a title (paragraph) for the second table, and the second one contains some content. Both o

Re: [iText-questions] Problem with iTextSharp

2014-02-18 Thread iText mailing list
On 2/18/2014 5:12 PM, Leonard Rosenthol wrote: > There are no issues with iText No, but we made some minor changes in the latest release so that the behavior of keywords is more in line with what Adobe Reader expects. --

Re: [iText-questions] Problem with iTextSharp

2014-02-18 Thread Leonard Rosenthol
>> Date: Tuesday, February 18, 2014 10:53 AM To: Post here mailto:itext-questions@lists.sourceforge.net>> Subject: [iText-questions] Problem with iTextSharp Hi there We have discovered an error with your code. When setting MoreInfo using the Stamper, there are some strange behaviours in

Re: [iText-questions] Problem with iTextSharp

2014-02-18 Thread Michael Demey
Hi, What version are you using? I remember encountering this issue (or a similar one) last month and we fixed it for the recentmost release (5.5.0). Kind regards, Michaël. Crosby, Jonathan schreef op 18/02/2014 16:53: > Hi there > > We have discovered an error with your code. When setting M

[iText-questions] Problem with iTextSharp

2014-02-18 Thread Crosby, Jonathan
Hi there We have discovered an error with your code. When setting MoreInfo using the Stamper, there are some strange behaviours in combination with using some special characters. When the text being set contains a semicolon or a double quote, the keywords text is duplicated. Here is a vb.net e

Re: [iText-questions] Problem compiling examples from 2nd edition of iText in Action

2014-02-06 Thread iText Info
Mark Elston schreef op 6/02/2014 2:21: > I am not sure how to set up my project to get the examples to run > properly. I keep getting permissions problem (could also be file not > found) when trying to connect to the database. How are you setting up your project? I usually fetch all the files n

[iText-questions] Problem compiling examples from 2nd edition of iText in Action

2014-02-06 Thread Mark Elston
I have tried to follow along with the examples in the book (chapter 1 was pretty easy). However, I ran into trouble starting with chapter 2. I am not sure how to set up my project to get the examples to run properly. I keep getting permissions problem (could also be file not found) when trying t

[iText-questions] problem with german umlauts in metadata in pdfStamper

2014-01-23 Thread Peter Schwalm
Hi, I have experienced this with iTextSHARP 5.4.5. The problem: PdfStamper crashes during .Close() if xml-metadata contain a german umlaut. I have traced that in the source code: (XmpMetaParser.cs) private static XmlDocument ParseXmlFromBytebuffer(ByteBuffer buffer, ParseOptions

Re: [iText-questions] Problem signing pdf

2013-11-14 Thread Marco Serioli
Maybe that not all users who reading this mailing list also read Stack Overflow.. but anyway I will try more on SO. Thank you. Marco 2013/11/14 iText mailing list > On 11/14/2013 11:50 AM, Marco Serioli wrote: > > if it is posted in this mailing list is because with the proposed > > StackOve

Re: [iText-questions] Problem signing pdf

2013-11-14 Thread iText mailing list
On 11/14/2013 11:50 AM, Marco Serioli wrote: > if it is posted in this mailing list is because with the proposed > StackOverflow I have not solved anything If the answer on SO didn't solve your problem, why post an identical question on the mailing-list? With an identical question, you'll get an

Re: [iText-questions] Problem signing pdf

2013-11-14 Thread Marco Serioli
if it is posted in this mailing list is because with the proposed StackOverflow I have not solved anything, certainly not time for people to steal. anyway thanks for the reply, 2013/11/14 iText mailing list > On 11/14/2013 11:23 AM, Marco Serioli wrote: > > I'm trying to digitally sign a pdf f

Re: [iText-questions] Problem signing pdf

2013-11-14 Thread iText mailing list
On 11/14/2013 11:23 AM, Marco Serioli wrote: > I'm trying to digitally sign a pdf file from a java Maven project. This is: (1) a BouncyCastle question presented as if it were an iText question; (2) a duplicate question (you've already posted on SO 20 hours ago): http://stackoverflow.com/questions

[iText-questions] Problem signing pdf

2013-11-14 Thread Marco Serioli
I'm trying to digitally sign a pdf file from a java Maven project. I've included in my pom file: com.itextpdf itextpdf 5.4.4 true org.bouncycastle bcprov-jdk15on 1.49 org.bouncycastle bcpkix-jdk15on 1.49 And this is a portion of my code: Certificate

Re: [iText-questions] Problem with E-signature and iText

2013-11-08 Thread Kostas
questions about iText here' Subject: [iText-questions] Problem with E-signature and iText Dear all, I have a big problem and I can't solve it. I'm using iText to sign pdf in a project. I get the information (user certificate, reason, location...etc) from a Java Applet (user en

[iText-questions] Problem with E-signature and iText

2013-11-08 Thread Aritz Muniáin Sánchez
Dear all, I have a big problem and I can't solve it. I'm using iText to sign pdf in a project. I get the information (user certificate, reason, location...etc) from a Java Applet (user enters all this information). All is working fine and the signature is placed in the PDF (in a specific signat

[iText-questions] problem with Form Flattening

2013-10-09 Thread Jim Marciniak
Hi, I have been using iTextSharp in an app I wrote for myself. I have been using it to produce various types of documents using data that I have stored in a database. I have numerous PDF document templates (PDF fillable forms), and I use iTextSharp to populate the various input fields on the

Re: [iText-questions] Problem with fonts (?) in TextFields.

2013-09-30 Thread Kostas
r the answer, but this didn't seem to help. L Kostas From: Iliadis Yannis [mailto:ilyan...@gmail.com] Sent: Thursday, September 26, 2013 4:53 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with fonts (?) in TextFields. Hi Kosta.

Re: [iText-questions] Problem with fonts (?) in TextFields.

2013-09-30 Thread Iliadis Yannis
but this didn’t seem to help. L > > ** ** > > Kostas > > ** ** > > *From:* Iliadis Yannis [mailto:ilyan...@gmail.com] > *Sent:* Thursday, September 26, 2013 4:53 PM > *To:* Post all your questions about iText here > *Subject:* Re: [iText-questions] Problem wi

Re: [iText-questions] Problem with fonts (?) in TextFields.

2013-09-30 Thread Kostas
Hello. Thanks for the answer, but this didn't seem to help. L Kostas From: Iliadis Yannis [mailto:ilyan...@gmail.com] Sent: Thursday, September 26, 2013 4:53 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with fonts (?) in TextFields.

Re: [iText-questions] Problem with Unicode?

2013-09-26 Thread raghuveerk
I am having same issue with Unicode characters in PDF generation with XMLWorker. Here is my post http://itext-general.2136553.n4.nabble.com/Unable-to-parse-unicode-characters-in-Xmlworker-td4659151.html#a4659247 Didn't get much help so far... Thought of sending this to you so that you don't have

Re: [iText-questions] Problem with fonts (?) in TextFields.

2013-09-26 Thread Iliadis Yannis
Hi Kosta. Try using BaseFont.NOT_EMBEDDED in your basefont creation and set the Subset to true. e.g. bfont = BaseFont.createFont(UnicodePath, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED); bfont.setSubset(true); Yannis 2013/9/26 Kostas > Hello. > > ** ** > > I have

[iText-questions] Problem with fonts (?) in TextFields.

2013-09-26 Thread Kostas
Hello. I have a PDF where I add some TextFields. var txtFld = new TextField(stamper.Writer, new Rectangle(cRightX - cWidthX, cTopY3, cRightX, cTopY), FieldNameProtocol) { Font = bf, FontSize = cHeaderFontSize, Alignment = Element.ALIGN_RIGHT, Options =

Re: [iText-questions] Problem with generation of PDF

2013-09-10 Thread Marot Laurent
_ De : Cédric de Bellefroid [cedde...@gmail.com] Envoyé : mardi 10 septembre 2013 18:31 À : itext-questions@lists.sourceforge.net Objet : [iText-questions] Problem with generation of PDF Hi, I created a java application on eclipse on Mac os with a report generation with text. It work

Re: [iText-questions] Problem with generation of PDF

2013-09-10 Thread iText mailing list
On 9/10/2013 6:31 PM, Cédric de Bellefroid wrote: > The file seams to be empty (0kb) and corrupt. As you say: it works on Mac, so there's no problem with iText. The problem must have an external cause. Check if you're not ignoring an exception. For instance: you are creating an image from a spe

[iText-questions] Problem with generation of PDF

2013-09-10 Thread Cédric de Bellefroid
Hi, I created a java application on eclipse on Mac os with a report generation with text. It works fine on mac os, but when I put the application on a windows os it create a pdf that cannot be opened by adobe acrobat reader or any other reader. The file seams to be empty (0kb) and corrupt. I

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-28 Thread Yusuf Poonawala
Yusuf Poonawala -Original Message- From: Jacob Certain [mailto:jcert...@gilbertschools.net] Sent: Friday, August 23, 2013 11:31 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts > We have be

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread iText Info
Op 23/08/2013 19:49, Yusuf Poonawala schreef: > However, if I can get the generated documents to work with the > existing version and old versions of this internal viewer, that would > be an ideal solution. The PDF opens fine in Adobe Reader and even in Chrome's PDF viewer. pdf.js however admits:

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread iText Info
Op 23/08/2013 19:49, Yusuf Poonawala schreef: > Considering that Acrobat Professional is able to generate a document > that does work with the buggy Firefox viewer, I assume there must be > something in the PDF file that we could do to make it work in Firefox. I can make a ton of PDFs with Acrob

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread Jacob Certain
> We have been using iTextSharp for a while and recently ran into an > issue with the new internal PDF viewer in Firefox 22 and 23 (we think > it goes back to v19 but don't have those versions to verify). ftp://ftp.mozilla.org/pub/firefox/releases/ Have checked pdf.js upstream[1] for this bug? Yo

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread Yusuf Poonawala
o: Post all your questions about iText here Subject: Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts Given that the problem is FireFox - why not contact Mozilla and get them to fix their bug?? Or, since pdf.js (their PDF renderer) is open source - go fix i

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread Leonard Rosenthol
t here mailto:itext-questions@lists.sourceforge.net>> Date: Friday, August 23, 2013 12:50 PM To: Post here mailto:itext-questions@lists.sourceforge.net>> Subject: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts Hi All, We have been using iTextSharp for a

Re: [iText-questions] Problem with Internet Explorer 10

2013-08-06 Thread Macedo Muth, Javier
HttpContext.Current.Response.End(); _MemoryStream.Dispose(); I hope this will be useful. Best regards De: 1T3XT BVBA [mailto:i...@1t3xt.info] Enviado el: Tuesday, August 06, 2013 11:38 AM Para: itext-questions@lists.sourceforge.net Asu

Re: [iText-questions] Problem with Internet Explorer 10

2013-08-06 Thread 1T3XT BVBA
On 6/08/2013 17:26, Macedo Muth, Javier wrote: Good morning my name is Javier Macedo and I would like to know where to report a problem with iTextSharp, I hope is here. The problem is: I am using ie10 and when I try to open a PDF file, some times I have to press the Cancel button one or two

[iText-questions] Problem with Internet Explorer 10

2013-08-06 Thread Macedo Muth, Javier
Good morning my name is Javier Macedo and I would like to know where to report a problem with iTextSharp, I hope is here. The problem is: I am using ie10 and when I try to open a PDF file, some times I have to press the Cancel button one or two times and try again to open the PDF file (other

Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread iText Software
On Sat, 11 May 2013 14:04:18 +0200, Lorenzo Pozzetti wrote:Please show me where I can download the version 5.4.2It isn't released yet.There are three options:1. You can wait until the end of May for the official release,2. You can download it from the SVN trunk on SourceForge and build an interme

Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread Lorenzo Pozzetti
I had no problem with versions up to 5.4.0, the problem is only with version 5.4.1 Please show me where I can download the version 5.4.2 Thanks -- Lorenzo Pozzetti *Giplo *s.r.l. www.giplo.com On Sat, May 11, 2013 at 1:35 PM, iText Software wrote: > ** > On Fri,

Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread iText Software
On Fri, 10 May 2013 19:57:14 +0200, Lorenzo Pozzetti wrote:Hello, and thank you in advance for any help that you can provide for my problem. I'using version 5.4.1 in Java.When I add Chunks to a Paragraph, output is missing I'm using the trunk version (SNAPSHOT version of 5.4.2) and I've copy/pas

[iText-questions] Problem with version 5.4.1

2013-05-10 Thread Lorenzo Pozzetti
Hello, and thank you in advance for any help that you can provide for my problem. I'using version 5.4.1 in Java. When I add Chunks to a Paragraph, output is missing. Example: public static final Font NORMAL = new Font(FontFamily.HELVETICA, 12, Font.NORMAL); public static final Font BOLD = new

Re: [iText-questions] problem appending PDF files

2013-04-25 Thread Brian . Moore
AM Subject: Re: [iText-questions] problem appending PDF files Brian? wanted to follow up? your solution worked like a charm! Thank you for the simple solution! -- Try New Relic Now & We'll Send You thi

Re: [iText-questions] problem appending PDF files

2013-04-25 Thread Tolting Colt Acres, Inc.
Brian. wanted to follow up. your solution worked like a charm! Thank you for the simple solution! -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring se

Re: [iText-questions] problem appending PDF files

2013-04-25 Thread Tolting Colt Acres, Inc.
brian.mo...@thompsonmachinery.com brian.mo...@thompsonmachinery.com) writes: > Does the field you have on your page three happen to share a name with a field on any of the other pages? > This may be an elementary question, but it's the first thing I thought of. It could very well be possi

Re: [iText-questions] problem appending PDF files

2013-04-24 Thread Brian . Moore
, TN 37086 (615) 259-5840 - Direct From: "Tolting Colt Acres, Inc." To: Date: 04/24/2013 11:47 AM Subject:[iText-questions] problem appending PDF files I have a problem appending a PDF file containing form fields to another PDF without losing the form fields. I

[iText-questions] problem appending PDF files

2013-04-24 Thread Tolting Colt Acres, Inc.
I have a problem appending a PDF file containing form fields to another PDF without losing the form fields. I have files which illustrate this issue. I am using iTextSharp-5.3.0 (I tried upgrading to iTextSharp-5.4.0 but other code in my application broke, so I had to continue to use this versi

Re: [iText-questions] problem with Lanuage Support

2013-04-17 Thread Paulo Soares
Pashto is not supported but it doesn't look that difficult to change ArabicLigaturizer.cs to make it work. Paulo On Tue, Apr 16, 2013 at 10:21 AM, zafar ali wrote: > Dear Sir >I am working with itextSharp in asp.net C#. > i generated a pdf File in Arabic, Farsi it is ok. but when i generate

[iText-questions] problem with Lanuage Support

2013-04-16 Thread zafar ali
Dear Sir    I am working with itextSharp in asp.net C#. i generated a pdf File in Arabic, Farsi it is ok. but when i generate in pashto language it does not support some charactersof pashto language. what can i do for the pashto language support  please send me an example. for Example when i

[iText-questions] Problem is check underline/overstrike status of a character in PDF

2013-03-25 Thread wwkloo
Dear all, I am trying to check the underline and overstrike status of characters in a PDF. I heard that underline and overstrike are achieved by graphical objects in PDF. So I tried to detect the rectangle and line objects first. Based on their position and the bounding box position of characters

[iText-questions] Problem with Font tags in iTextSharp XMLWorker

2013-02-27 Thread Salman Ghani
Hi I'm using itextsharp 5.3.5 and xml worker to generate the PDF from my html page. In my html page I have a rich text editor which generate the html using the div tags and font tags. Please see the below html piece generated by my field. http://www.w3.org/1999/xhtml";>this text is not wo

Re: [iText-questions] Problem with Font.UNDERLINE and setKeepTogether(true);

2013-01-20 Thread 1T3XT BVBA
On 17/01/2013 10:04, Christian wrote: Hello, The following Code produces a pdf document. Don't use normal spaces, use non breaking spaces (/u00a0) instead. Also use Chunk.setUnderline() instead of a font that underlines.

[iText-questions] Problem with Font.UNDERLINE and setKeepTogether(true);

2013-01-20 Thread Christian
​Hello, The following Code produces a pdf document. public class PDFtest {     private static final Font NORMAL_FONT = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.NORMAL);     private static final Font NORMAL_FONT_RED = new Font(Font.FontFamily.TIMES_ROMAN, 12, Font.NORMAL, BaseColor.RED);

Re: [iText-questions] Problem facing with Multi line Form field

2013-01-16 Thread chandravathi K
Hi Thanks for your quick reply. I am using this in .Net.Not in java.Can you please help?? On Wed, Jan 16, 2013 at 3:02 PM, GaneshKumar AppalaNaidu < pilla.appalanaidu1...@gmail.com> wrote: > Hi Chandravathi, This is AppalaNaidu. > > I enclosed MultiLine class.Just download the this class and ins

Re: [iText-questions] Problem facing with Multi line Form field

2013-01-16 Thread GaneshKumar AppalaNaidu
Hi Chandravathi, This is AppalaNaidu. I enclosed MultiLine class.Just download the this class and insert the your project package. Foe example we can create JLabel in multiline: "Public class classname extends Enclosed class name". This is MultiLine Sample code... Thank You, On Wed, Jan 16, 201

[iText-questions] Problem facing with Multi line Form field

2013-01-16 Thread chandravathi K
Hi Team, I am trying to write text in Multi line[i.e 2 line] form field.Here My requirement is that i need to start writing form the second line.If second line is not able to fit the entire text then it should start writing from First Line. Can someone help on this??? -- Regards, Chandravathi 9

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-10 Thread Harsha Kaundinya
Thank you iText Info. U did a great help to me in providing a quick solution. Thank you, Harsha On Thu, Jan 10, 2013 at 2:15 PM, iText Info wrote: > Op 10/01/2013 4:16, Harsha Kaundinya schreef: > > > > I have one small doubt regarding this issue again. When i used to > > generate this report

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-10 Thread iText Info
Op 10/01/2013 4:16, Harsha Kaundinya schreef: > > I have one small doubt regarding this issue again. When i used to > generate this report, few reports used to get generated, but few > failed. Is there any reason why a report with 4 or more pages report > failed while a smaller report generated

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-09 Thread Harsha Kaundinya
Hi, I have one small doubt regarding this issue again. When i used to generate this report, few reports used to get generated, but few failed. Is there any reason why a report with 4 or more pages report failed while a smaller report generated? And why doesnt document.add(image) on onEndPage met

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-09 Thread Harsha Kaundinya
Thank you so much... The solution is working... Thanks, Harsha On Mon, Jan 7, 2013 at 10:48 PM, 1T3XT BVBA wrote: > On 7/01/2013 17:44, Harsha Kaundinya wrote: > > Thank you... But then, how do we add images to the header each time? > > Create an Image instance OUTSIDE the onEndPage() method.

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-07 Thread 1T3XT BVBA
On 7/01/2013 17:44, Harsha Kaundinya wrote: > Thank you... But then, how do we add images to the header each time? Create an Image instance OUTSIDE the onEndPage() method. Define its absolute position. Add it like this: PdfContentByte cb = writer.getDirectContent(); cb.addImage(image); You shoul

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-07 Thread Harsha Kaundinya
Thank you... But then, how do we add images to the header each time? Thank you, Harsha On Mon, Jan 7, 2013 at 8:16 PM, iText Info wrote: > Op 7/01/2013 15:21, Harsha Kaundinya schreef: > > What could the actual problem be? > The main problem is you not reading the documentation. > The document

Re: [iText-questions] Problem with Adding image to document onEndPage

2013-01-07 Thread iText Info
Op 7/01/2013 15:21, Harsha Kaundinya schreef: > What could the actual problem be? The main problem is you not reading the documentation. The documentation is very explicit about this: use the Document object for Read-Only purposes only in the page event methods. Do not use document.add() in onEndP

[iText-questions] Problem with Adding image to document onEndPage

2013-01-07 Thread Harsha Kaundinya
Hi All, I am facing a very weird problem. I have code to add image to the header which i write in the method onEndPage by extending PdfPageEventHelper to my class. public void onEndPage(PdfWriter writer, Document document) { try{ document.add(img); }catch(DocumentException de){ de.printStackTrace

[iText-questions] Problem during report stamping

2013-01-02 Thread Rajesh J
Hi, I am facing following problem while stamping a (just generated) report for printing page X Of Y footer: com.itextpdf.text.exceptions.InvalidPdfException: PDF header signature not found. at com.itextpdf.text.pdf.PRTokeniser.checkPdfHeader(PRTokeniser.java:205) at com.itextpdf.text.pdf.

Re: [iText-questions] Problem in stamping Page X Of Y Footer.

2013-01-02 Thread Rajesh J
Hi Michael, Thanks for your reply. I did rename the file with temporary name and then stamped. It works. I had forgotten my password to login here in the meanwhile n hence the delay. Although sometimes I face following problem while making the report copy: com.itextpdf.text.exceptions.InvalidP

[iText-questions] Problem with descenders (and compression)

2013-01-02 Thread Viv
New to Itext so I assume that both of these problems are down to my basic (mis)understanding. Given the following C# code: BaseFont customfont = BaseFont.CreateFont(@"c:\windows\fonts\BuxtonSketch.ttf", BaseFont.CP1252, BaseFont.EMBEDDED); Document doc = new Document(); var

Re: [iText-questions] Problem facing with iTextshap dll

2012-12-29 Thread 1T3XT BVBA
On 28/12/2012 18:31, chandravathi K wrote: > Can you please help us on this on high priority. It is possible to fill out forms using non-English characters, but high-priority questions require premium support. In other words: either you read the book about iText and solve the problem using the ex

[iText-questions] Problem facing with iTextshap dll

2012-12-28 Thread chandravathi K
Hi Team, We are using iTextSharp dll to write the data into form fields in PDF template.But we are facing problem with the non english characters.We are not able to write Non englich characters in the form fields using iYextsharp dll. Is it not supported with this or there is any workarround to g

Re: [iText-questions] Problem concerning some OpenType fonts – safe patch available?

2012-12-17 Thread Martin Sievers
Am 17.12.2012 15:25, schrieb iText Info: > Op 17/12/2012 15:14, Martin Sievers schreef: >> The question remains: Do these changes above have any side-effects for >> other fonts? > Maybe, but having a NullPointerException isn't OK either, so let's go > for the lesser evil and add an if. > I've alre

Re: [iText-questions] Problem concerning some OpenType fonts – safe patch available?

2012-12-17 Thread iText Info
Op 17/12/2012 15:14, Martin Sievers schreef: > The question remains: Do these changes above have any side-effects for > other fonts? Maybe, but having a NullPointerException isn't OK either, so let's go for the lesser evil and add an if. I've already done this for the Java version in the SVN repos

[iText-questions] Problem concerning some OpenType fonts – safe patch available?

2012-12-17 Thread Martin Sievers
Dear all, in January 2011 there was an issue opened by "M. Niedermair" concerning some problems using the OpenType font Linux Libertine (http://itext-general.2136553.n4.nabble.com/FontFactory-registerDirectory-dir-tp3222941.html) After we noticed similar problems – not only with Linux Libertine –

[iText-questions] Problem in stamping Page X Of Y Footer.

2012-12-07 Thread Rajesh J
Hi, I am getting following error when i try to stamp a footer (page x of y - where x = current page no & y=total no of pages) on a previously generated pdf using itext. Problem could be because I m trying to write to the same file that I am reading. But I dont know how to resolve this. I saw a cou

Re: [iText-questions] Problem with add PdfFormField and print

2012-11-11 Thread 1T3XT BVBA
On 11/11/2012 12:10, yotamv wrote: > if the option > to create text field using PdfFormField.createTextField() exist, > there must be some explanation to my problem. Of course, there's an explanation! Actually you've given the explanation yourself: you can't afford spending time to learn more abo

Re: [iText-questions] Problem with add PdfFormField and print

2012-11-11 Thread yotamv
Don't have to be so cynic... Can you write to my boss and convince him to buy this book? If not, than I guess asking the forum is cheaper for me ;-) Thanks for you answer, I will look it up, although, wiser or not, if the option to create text field using PdfFormField.createTextField() exist, th

Re: [iText-questions] Problem with add PdfFormField and print

2012-11-11 Thread 1T3XT BVBA
On 11/11/2012 10:56, yotamv wrote: > I really hope you can help me, I'm struggling with this for a long time. Well, the documentation states that you can create a text field using PdfFormField.createTextField(), but that it's wiser to use the TextField class: http://itextpdf.com/examples/iia.php?

[iText-questions] Problem with add PdfFormField and print

2012-11-11 Thread yotamv
Hi all, I have a problem with adding a PdfFormField to pages. The filed is added but is not visible while opening the page nor it is being printed. Here is the code for adding a field for each page of an existing pdf file: for (int p = 1; p <= totalPages; p++) { field = PdfFormField.creat

Re: [iText-questions] problem including certificate chain in PDF

2012-11-09 Thread Andreas Kuehne
Hi keklikhasan, I wouldn't call this a problem! You always have just one root certificate. The other one (not required to build the certificate chain) will just be ignored. Greetings, Andreas K. > Hi, i have similar problem. i try to sign pdf with mobile signature. i use > itextpdf-5.1.3.jar,bc

Re: [iText-questions] problem including certificate chain in PDF

2012-11-09 Thread keklikhasan
Hi, i have similar problem. i try to sign pdf with mobile signature. i use itextpdf-5.1.3.jar,bcprov-jdk16-1.46.jar while signig. X509Certificate root0 = Utils.getCert(PropertyUtils .getProperty(Property.SIGN_ROOT_CERT0_PATH.value)); X509Certificat

Re: [iText-questions] Problem converting text file with Greek characters

2012-11-02 Thread Pantelopoulos Athanasios
That helped! Thanks! From: Iliadis Yannis To: Post all your questions about iText here Sent: Friday, November 2, 2012 2:58 PM Subject: Re: [iText-questions] Problem converting text file with Greek characters Hi, I had same issues with the standard

Re: [iText-questions] Problem converting text file with Greek characters

2012-11-02 Thread iText Info
Op 2/11/2012 13:58, Iliadis Yannis schreef: BaseFont bf = BaseFont.createFont(pathArial, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED); bf.setSubset(true); Font _ARIAL8 = new Font(bf, 8); Note that in this example, you're creating a font that will use UNICODE (resulting in a composite font). In

Re: [iText-questions] Problem converting text file with Greek characters

2012-11-02 Thread Iliadis Yannis
Hi, I had same issues with the standard type 1 fonts for Greek, so I'm using a .ttf font instead, as iText is mentioning in his post. What I do is to use Arial as my font of choice as follows: BaseFont bf = BaseFont.createFont(pathArial, BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED); bf.setSubset(

Re: [iText-questions] Problem converting text file with Greek characters

2012-11-02 Thread iText Info
Op 2/11/2012 13:34, Pantelopoulos Athanasios schreef: DimbfTimes AsBaseFont= BaseFont.CreateFont(BaseFont.HELVETICA, BaseFont.WINANSI, BaseFont.EMBEDDED) This is the wrong font, the wrong encoding, and even the third parameter is wrong. 1st parameter: Helvetica doesn't know how to draw Greek c

[iText-questions] Problem converting text file with Greek characters

2012-11-02 Thread Pantelopoulos Athanasios
Hi, I have a problem when trying to convert a simple text file containing Greek characters to a pdf file. To be more specific, when converting this file, the Greek characters as missing from resulting pdf, even though I try to use a specific encoding. This is my code: 'Create PdfWriter   Pd

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-18 Thread Bob Babcock
> You need an AFM file for the [MICR] font. If you can't get an AFM file from your vendor, maybe you can use one from GnuMICR: http://www.sandeen.net/GnuMICR/ -- Live Security Virtual Conference Exclusive live event will

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-18 Thread Leonard Rosenthol
iText-questions] Problem accessing fonts available in printer's memory through java. Hi You were right that I need to load the font metrics, to do that I need to have access to the font which I don't but I have PCL code for it to access the font. Is there a way that I can use it

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-17 Thread krisniru
Hi You were right that I need to load the font metrics, to do that I need to have access to the font which I don't but I have PCL code for it to access the font. Is there a way that I can use it as below? (0Q(s1p12.0v0s0b0T "1234567890" (0Q(s0p8.00h8.8v0s0b0T "1234567890" Would be great if y

[iText-questions] Problem with encryption & adding media

2012-09-17 Thread temp expt
*Sir, I am using your .jar file for last 1 years. It's really awesome. Thank you for providing such thing that is very helpful to us. Anyway, recently I faced a problem. That is if I create a PDF file with adding a media (using PdfFileSpecification.fileEmbedded(...)) and then if I encrypt t

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-17 Thread 1T3XT BVBA
On 17/09/2012 15:40, krisniru wrote: > Thanks for your answer. Thanks for clarifying. My working week is always at least one day too short, and I have to work during weekends to get all my work done. That's not very healthy, and I hope it explains the tone of some of the answers to users who aren

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-17 Thread krisniru
Hi 1T3XT BVBA! Sorry you felt it that way I was not bossing you around and honestly that was not my intention. I know the one I am using is the open source version you are right that I am not a customer and I have no right to be rude or make anyone feel that way. Thanks for your answer. kris_ni

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-16 Thread 1T3XT BVBA
On 15/09/2012 22:23, krisniru wrote: > Please provide > us some solution whether we can achieve this with out registering the > secured font in the PC. We are not worried if the actual pdf contains the > text "abc". Please understand that you're NOT a CUSTOMER, so we have NO OBLIGATION WHATSOEVER

Re: [iText-questions] Problem accessing fonts available in printer's memory through java.

2012-09-15 Thread krisniru
Thanks for the response, Below is what I am trying to do. We have some secured "TROY" fonts which cannot be installed on the PC , it will be installed only on the printer. For example if we send "abc" as text while creating the pdf and specify that "abc" is the "TROY" font and send it to the

  1   2   3   4   5   6   7   8   9   10   >