Re: [iText-questions] most amout of data in the smallest amout of space(width) Barcodes

2006-08-18 Thread Kevin Buhr
I mean it made the barcode narrower. Kevin Buhr <[EMAIL PROTECTED] >

Re: [iText-questions] most amout of data in the smallest amout of space(width) Barcodes

2006-08-18 Thread Kevin Buhr
I did the following and it seemed to help (made the barcodes thinner): code128.setX(.5f); -regards Kevin "Paulo Soares" <[EMAIL PROTECTED]

Re: [iText-questions] Text Rotation

2006-08-18 Thread Paulo Soares
The easiest way is to put the text in a PdfPCell and set the cell rotation. Paulo - Original Message - From: "Courtney Brian Arnold" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 9:01 PM Subject: [iText-questions] Text Rotation >I am attempting to create a PDF where the text i

Re: [iText-questions] itext bundle

2006-08-18 Thread Paulo Soares
No idea, I don't even know what is Corda. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 6:52 PM Subject: [iText-questions] itext bundle > > > > > Is your product bundled with-in the Corda suite of products? > > > > > Tim French > 312-2707 > > >

Re: [iText-questions] most amout of data in the smallest amout of space(width) Barcodes

2006-08-18 Thread Paulo Soares
Without going to 2D codes the code 128 is the more efficient. Paulo - Original Message - From: "Kevin Buhr" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 9:12 PM Subject: [iText-questions] most amout of data in the smallest amout of space(width) Barcodes > > Hello there, > >

[iText-questions] most amout of data in the smallest amout of space (width) Barcodes

2006-08-18 Thread Kevin Buhr
Hello there, I am using IText to generate Barcodes. Was wondering what was the best way (which type of Barcode, fonts, etc.) to get the most amout of data in the smallest amout of space (width)? Am using the following code and we are making labels with barcodes- 3 barcodes per row and 10 rows pe

[iText-questions] Text Rotation

2006-08-18 Thread Courtney Brian Arnold
I am attempting to create a PDF where the text is rotated to be aligned vertically instead of horizontally. Currently I am unable to see how to rotate the text without creating a chunk and skewing it (skewing it is not a good option, since it also ends up changing the size of the text). Is

Re: [iText-questions] pkcs7

2006-08-18 Thread Paulo Soares
X.509 is hardly a secret! Paulo - Original Message - From: "majorsoul" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 4:39 PM Subject: Re: [iText-questions] pkcs7 > > I was looking for the specs, I cant find a spec with a spesific format, I > thought maybe there isnt one. > > t

[iText-questions] itext bundle

2006-08-18 Thread TFrench
Is your product bundled with-in the Corda suite of products? Tim French 312-2707 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to mak

Re: [iText-questions] Problem drawing SVG in PDF as Vektorgraphic

2006-08-18 Thread Paulo Soares
If the SVG is converted to bitmap it's not iText doing. Paulo - Original Message - From: "Jörn Stuphorn" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 3:44 PM Subject: [iText-questions] Problem drawing SVG in PDF as Vektorgraphic > Hello. > > I have a graph as SVG and want to

Re: [iText-questions] Problem with pdf regeneration

2006-08-18 Thread Paulo Soares
Look at the handout example. You need to call reader.getPageSizeWithRotation() and also rotate the imported page through a transformation. Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 3:53 PM Subject: [iText-questions] Problem with pdf regener

Re: [iText-questions] Problem with pdf regeneration

2006-08-18 Thread Mark Storer
There's quite a bit of variance possible within a single visual appearance.   For example, fonts can be embedded, subsetted, non-embedded, or replaced by paths.  Image DPIs can change.   But in your case, even with exactly the same objects representing the same information, the following t

Re: [iText-questions] pkcs7

2006-08-18 Thread majorsoul
I was looking for the specs, I cant find a spec with a spesific format, I thought maybe there isnt one. thanks Paulo Soares wrote: > > PKCS7 packages a lot of things including certificates but those are not > described there. Google will find you the specs. > > Paulo > > - Original Messa

Re: [iText-questions] Upgraded from 1.2.3 to 1.4 and having issues withDocument.close()

2006-08-18 Thread Jeff Randolph
Paulo, I figured it out, but thought I would follow up for posterity. It turns out we had an old version of IText.jar put into that directory somehow over the last few months - no idea how long exactly since our last restart, but much of our code had been running off of that version as opposed to

Re: [iText-questions] Problem drawing SVG in PDF as Vektorgraphic

2006-08-18 Thread Damien Drix
Hello, I don't know batik very well but I use a similar technique to render barcodes using Barcode4J (instead of iText's native barcode renderer), and can confirm I get vector graphics in the resulting PDF as expected. So, the problem probably lies either with Batik's output or with the PrintTr

[iText-questions] Problem with pdf regeneration

2006-08-18 Thread trilokerajbhandary
Hi, This is in continuation with my previous query. The PDF version being used is 1.4 that is the version of pdf in one.pdf is 1.4 (Acrobat 5.x). Also another point to be note is the size of one.pdf is 72kB while the size of the regenerated pdf from iText that two.pdf is 71kB. Why iText is varyin

Re: [iText-questions] Problem drawing SVG in PDF as Vektorgraphic

2006-08-18 Thread Bill Ensley
Your code looks good, can you attach or give me a link to the SVG Graphic? I would like to test it here. -Bill Ensley Bear Printing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Stuphorn Sent: Friday, August 18, 2006 7:44 AM To: itext-questions@li

[iText-questions] Problem with pdf regeneration

2006-08-18 Thread trilokerajbhandary
Hi, I am using following piece of code to regenerate the pdf. one.pdf is the pdf that is read. two.pdf is the pdf that is regenerated using iText. one.pdf when viewed in Acrobat Reader ver.7.0 is a landscape size of 11.69*8.26 two.pdf when viewed in same Acrobat Reader ver.7.0 is a portrait size o

[iText-questions] Problem drawing SVG in PDF as Vektorgraphic

2006-08-18 Thread Jörn Stuphorn
Hello. I have a graph as SVG and want to save it as a PDF file using itext. The graph is rather large so I don't want to convert the graph into bitmap graphics. Has anyone hints how to achieve this? I have tried the code Paulo Soares mentioned in http://sourceforge.net/mailarchive/message.php?msg

Re: [iText-questions] iText Help needed

2006-08-18 Thread bruno
[EMAIL PROTECTED] wrote: > > Hi, > I want to know if the the version of PDF will have any impact on the > way that iText processes it. > I have a PDF file which is of version 1.3 and generated by Acrobat > 4.x which after processing through iText ver 1.4.3 gives a good result > but when a PDF

[iText-questions] iText Help needed

2006-08-18 Thread trilokerajbhandary
Hi, I want to know if the the version of PDF will have any impact on the way that iText processes it. I have a PDF file which is of version 1.3 and generated by  Acrobat 4.x which after processing through iText ver 1.4.3 gives a good result but when a PDF  version 1.4 (Acrobat 5.x) is used then th

Re: [iText-questions] Urgent iText Help Required

2006-08-18 Thread bruno
[EMAIL PROTECTED] wrote: > > >Bruno, > >We have been using iText for generating PDF through Java. (The input is >also PDF file which gets updated by iText) > >Its been working fine with PDF 1.3 (Acrobat 4.x), but has started giving >problem of page rotation with PDF 1.4 (Acrobat 5.x). Attached is

Re: [iText-questions] how to extract a page content of a PDF, save its stream data to disk...

2006-08-18 Thread Leonard Rosenthol
At 03:23 AM 8/18/2006, Hiep Tran wrote: I would like to extract one or some PDF files, save their stream to disk and after that create a new PDF document adding these stream data to newly document.   For what purpose?    As Bruno points out, what you are trying to do currently doesn't ma

Re: [iText-questions] fonts in text elements

2006-08-18 Thread Reinout van Schouwen
Hello Bruno, Op Fri, 18 Aug 2006 08:53:05 +0200, schreef bruno: >>Can anyone tell me what I'm doing wrong? > No, because you're not saying what you are doing. I'm sorry if my question wasn't clear enough, I had been staring at it for hours yesterday. > If you do it as described in the tutorial

Re: [iText-questions] pkcs7

2006-08-18 Thread Paulo Soares
PKCS7 packages a lot of things including certificates but those are not described there. Google will find you the specs. Paulo - Original Message - From: "majorsoul" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 3:27 AM Subject: [iText-questions] pkcs7 > > Hi all, > > anyone k

Re: [iText-questions] File.listFiles() can return null, itext code audit findings

2006-08-18 Thread Paulo Soares
This is a valid concearn and will also return null on some system directories in windows. It's curious that I test for null in my examples but I didn't do it in DefaultFontMapper. Paulo - Original Message - From: "bruno" <[EMAIL PROTECTED]> To: "Post all your questions about iText here

Re: [iText-questions] how to extract a page content of a PDF, save its stream data to disk...

2006-08-18 Thread bruno
Hiep Tran wrote: > Hi members, > > > > I would like to extract one or some PDF files, save their stream to > disk and after that create a new PDF document adding these stream data > to newly document. > > > That doesn't make sense. It is a bad idea for many many reasons. The stream will be w

[iText-questions] how to extract a page content of a PDF, save its stream data to disk...

2006-08-18 Thread Hiep Tran
Hi members,   I would like to extract one or some PDF files, save their stream to disk and after that create a new PDF document adding these stream data to newly document.   I tried to do as below but when I open newly document sometime the Acrobat Reader said lack some font, or some ob

[iText-questions] pkcs7

2006-08-18 Thread majorsoul
Hi all, anyone know what is the format of pkcs7 file? I am looking for something like x.509 asn.1 format. I was looking at the spec of pkcs7, there is no format there for the whole pkcs7 but only for pices of it such as signeddata. -- View this message in context: http://www.nabble.com/pkcs7

Re: [iText-questions] align text within a ColumnText

2006-08-18 Thread Martin Spek
Bruno It was my fault. I opened a document of type A4. By defining the ColumnText, I specified a width much larger than the width of th document. If i specify a widht equal to the width of the document, the aligning is correct. Thans for your help. Martin -Oorspronkelijk bericht- Van: [

Re: [iText-questions] File.listFiles() can return null, itext code audit findings

2006-08-18 Thread bruno
Darryl Miles wrote: >Darryl Miles wrote: > > >>and freak NullPointerExceptions can occur. There are major bugs or >>security issues relating to this, I am just seeking improvement in code >>quality with a couple of extra lines of code. >> >> > >Opps, that should have read... "There are NO

Re: [iText-questions] Inserting a table

2006-08-18 Thread bruno
Glen Self wrote: >How do I control where a table is inserted?(pdfptable) >when I do document.add(table) it writes over the text previously placed with >contentbyte.showtext() > If you decide to do the layout yourself with PdfContentByte, you have to do so for all elements, including tables. You ne