Re: [iText-questions] iText bug on PdfString encoding

2009-02-17 Thread Yu Chen
The code that can reproduce the bug is attached. -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: 2009年2月4日 16:58 To: Post all your questions about iText here Subject: Re: [iText-questions] iText bug on PdfString encoding Yu Chen wrote: > In com.lowagie.text.pdf.PdfStri

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread Billy Anachronism
I'm currently using a work-around to pdfstamp the document, then re-open it and select the pages. This works but seems unnecessarily inefficient On Wed, Feb 18, 2009 at 10:42 AM, Billy Anachronism wrote: > To give a little more information about what I'm doing: > > I was originally using pdfwrite

[iText-questions] Concerning fields on PDF forms

2009-02-17 Thread steve poling
Everyone, Can anyone help me figure out how to place fields on a PDF form in a particular tab order where some of those fields share the same datapoint name? To illustrate where I'm coming from, and perhaps preclude some to-and-fro, I have an extended multipart thought experiment. Consider a

Re: [iText-questions] Can't edit bold arial in Acrobatafter creating PDF

2009-02-17 Thread Leonard Rosenthol
Use "Arial Bold" as the font name instead of just "Arial" should do the trick... Leonard From: David Thielen [mailto:da...@windward.net] Sent: Tuesday, February 17, 2009 5:02 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Can't edit bold arial in Acrobatafter creat

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread Billy Anachronism
To give a little more information about what I'm doing: I was originally using pdfwriter to create a new pdf the same as the original but with resized pages and some text underneath. This turned out not to be the best option for me because I wanted to retain the rotation of the pdf pages but use o

Re: [iText-questions] pdfimportedpages content disappears when using selectpages

2009-02-17 Thread billy anachronism
can anyone help? Sorry if the answer is trivial -- View this message in context: http://www.nabble.com/pdfimportedpages-content-disappears-when-using-selectpages-tp22048089p22068356.html Sent from the iText - General mailing list archive at Nabble.com.

Re: [iText-questions] Can't edit bold arial in Acrobatafter creating PDF

2009-02-17 Thread David Thielen
Ok, I know this is a dumb question but how do I do that under iText? Thanks - dave David Thielen 303-499-2544 x1185 720-352-0676 (cell) From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Tuesday, February 17, 2009 1:17 PM To: Post all your questions about iText here Subject:

Re: [iText-questions] Can't edit bold arial in Acrobatafter creating PDF

2009-02-17 Thread Leonard Rosenthol
Don't use Font.BOLD - instead, pick the font manually. Leonard On 2/17/09 2:52 PM, "David Thielen" wrote: Hi; I understand that. The two probelems we are having are: We call FontFactory.getFont("Arial", baseFont.IDENTITY_H, true, 12.0, Font.BOLD); and the BaseFont it returns has a fontName

Re: [iText-questions] Can't edit bold arial in Acrobatafter creating PDF

2009-02-17 Thread David Thielen
Hi; I understand that. The two probelems we are having are: We call FontFactory.getFont("Arial", baseFont.IDENTITY_H, true, 12.0, Font.BOLD); and the BaseFont it returns has a fontName of "Arial-BoldMT". So the first question is how can we set the font to Arial rather than ArialMT and Arial

[iText-questions] Operation Not Supported

2009-02-17 Thread Kichline, Don (Penske)
I have a java program that I wrote that utilizes iText 2.1.4. This program works properly on my local windows environment. I am running Sun JDK 1.5.0.17. I then jar my application up and transfer the jar to an iSeries (AS/400), version V5R3. I receive the following error when I attempt to run

Re: [iText-questions] PdfAnnotation of specified page not working...

2009-02-17 Thread Mandar Jagtap
Hi All, I just wanted to know, if anyone got a chance to have a look at this thread below? Thank in advance! Mandar On Tue, Feb 17, 2009 at 1:17 AM, mandar.jagtap wrote: > > I tried with as follows > > PdfStamper stamp = new PdfStamper(reader, new FileOutputStream(outputFile)); > > PdfContentBy

Re: [iText-questions] alternative to Batik for SVG images

2009-02-17 Thread 1T3XT info
Jeff Glatz wrote: > for those of you who just need to load an SVG image and are a little put > off by Batik's size and bazillion jar dependency graph, i'd thought i > share a lightweight alternative i ran across: Thanks, I made a FAQ entry with the information in your mail: http://1t3xt.info/tutor

Re: [iText-questions] precision in text/pdf/ByteBuffer

2009-02-17 Thread Sam Krasnik
I guess I've spent too much time around getters and setters to look at the "public static" part of the variable. That was embarassing... --sam 2009/2/16 Paulo Soares > ByteBuffer.HIGH_PRECISION = true; > > Paulo > > > -Original Message- > > From: Sam Krasnik [mailto:samkras...@gmail.com

Re: [iText-questions] Can't edit bold arial in Acrobat after creating PDF

2009-02-17 Thread Leonard Rosenthol
Because the font specified in the PDF is "Arial-BoldMT" NOT "Arial Bold" - two different fonts... Leonard From: David Thielen [mailto:da...@windward.net] Sent: Tuesday, February 17, 2009 3:29 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Can't edit bold arial in

Re: [iText-questions] Printing both sides with iText

2009-02-17 Thread Leonard Rosenthol
I should clarify a little bit... Because it is a security risk (as Bruno points out), the file needs to be "trusted" in order for it to execute w/o the UI. A trusted file can either be certified by a trusted certificate (which you can do with iText) _OR_ it can be in a trusted location (folder

Re: [iText-questions] add a watermark to a signed PDF without losing the sign? SOLVED

2009-02-17 Thread RGBIT
Hi all. Just to say that all is running now, just append a   "    ,'\0',true )   "    at PdfStamper code. PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("c:\\my_dir\\" + file_name+"-watermarked.pdf"), '\0', true); thanks Leonard Rosenthol escribió: Correct - and that is b

Re: [iText-questions] Printing both sides with iText

2009-02-17 Thread 1T3XT info
Uma Gudi wrote: > > When I tried to Print Pdf, using below code > > writer.addJavaScript("this.print(false);", > *false*); > > response.setHeader("Expires", "0"); > response.setHeader("Cache-Control", > "must-revalidate, p

Re: [iText-questions] Printing both sides with iText

2009-02-17 Thread Uma Gudi
When I tried to Print Pdf, using below code writer.addJavaScript("this.print(false);", false); response.setHeader("Expires", "0"); response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");

Re: [iText-questions] signing pdf with external signature

2009-02-17 Thread amarianoelaide
Your solution is what I was looking for. Great, thank you very much. -- View this message in context: http://www.nabble.com/signing-pdf-with-external-signature-tp21917425p22053892.html Sent from the iText - General mailing list archive at Nabble.com. ---

Re: [iText-questions] signing pdf with external signature

2009-02-17 Thread mkl
Hi! I don't think that model is too unusual, you are likely to find it whereever you have heterogenous load-balancing signature card farms instead of workstations with individual card terminals, and have to cope with an API that decides just in time which signature card to use, e.g. in medium-v

Re: [iText-questions] Can't edit bold arial in Acrobat after creating PDF

2009-02-17 Thread David Thielen
Here you go. Acrobat ver 9 running on XP w/ SP-3. thank you - dave From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Mon 2/16/2009 11:14 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Can't edit bold arial in Acrobat aft