Re: [iText-questions] iText in maven2 repositories

2006-12-18 Thread Paulo Soares
Shouldn't you ask the maven guys? Paulo - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, December 19, 2006 1:13 AM Subject: [iText-questions] iText in maven2 repositories > It looks like the highest iText jar file version in the maven2 > repositories is 1.4 but the la

[iText-questions] iText in maven2 repositories

2006-12-18 Thread justin_fung
It looks like the highest iText jar file version in the maven2 repositories is 1.4 but the latest version on the site is 1.4.7. Is anybody planning on updating this? Many thanks, -j --- Justin Fung [EMAIL PROTECTED] Consultant, Business Systems I

[iText-questions] Determining page number from indirect reference

2006-12-18 Thread mrflippy
Hello, I am still working on copying internal link annotations into a copy of the original pdf. I have the annotations created. Now, I'm having trouble linking them to the correct pages. I can pull the link destination, but it comes back as an indirect reference to the page, and I'm not su

Re: [iText-questions] iText & big images

2006-12-18 Thread Paulo Soares
You can scale the image. In any case, big images are dropped if they don't fit. Paulo - Original Message - From: "igors.kuvaga" <[EMAIL PROTECTED]> To: Sent: Monday, December 18, 2006 7:05 PM Subject: [iText-questions] iText & big images > Hello, All! > > > > I am using iText to gene

[iText-questions] iText & big images

2006-12-18 Thread igors.kuvaga
Hello, All! I am using iText to generate some reports which contain both data both images. Images are in png format like in attached file. In the cases when the size of picture is small - smaller then maximally allowed by opened pdf document I created in iText (typically A4 with some headers

Re: [iText-questions] iText support

2006-12-18 Thread Bruno Lowagie
Duncan Groenewald wrote: > Hi, I can figure out how where the iText discussion or support forums > are so I am trying you directly. I almost overlooked this mail. It has [iText-questions] in the subject, but it didn't show up in the mailing list archives. Mails sent to the mailing list get prior

[iText-questions] Amazon delivered a present today

2006-12-18 Thread David Thielen
I haven't read it yet but a quick look at the iText book - WOW David Thielen www.windwardreports.com 303-499-2544 x1185 Cubicle Wars - http://www.windwardreports.com/film.htm - Take Surveys. Earn Cash. Influ

Re: [iText-questions] Bug in PdfPCell

2006-12-18 Thread Eric Summkeller
Very good! Thanks for your help. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and

[iText-questions] preparing new release

2006-12-18 Thread Bruno Lowagie (iText)
Hello all, I'm preparing a new version of iText that will be release tomorrow. This will be the last release before we make some significant changes: removing BouncyCastle from iText; and use BouncyCastle from a separate jar. Reason: we need more BouncyCastle functionality to implement Certific

Re: [iText-questions] Swing and FontMapper problem

2006-12-18 Thread Peter B. West
I don't know the iText Pdfgraphics2D code, so I can't offer any particular suggestions. However, I am using Java2D to layout text which is later rendered to PDF using, in part. iText resources. I'm also using Java 1.5 and 1.6. Since 1.5, and even more in 1.6, Java2D can be directed to do its text

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Leonard Rosenthol
You also need to be aware that Acrobat 6 and earlier have a 2G limitation on PDF file size anyway - so that if you really are able to merge the documents together, you can only view it with Acrobat 7 and later. In addition, no 3rd party PDF viewer is able to work with a >2G PDF. Leonard

Re: [iText-questions] Swing and FontMapper problem

2006-12-18 Thread NCA
I use the last version of iText ( 1.4.6 ). The font used is "comic sans MS" and it's in the PDF (embedded) The printing dimension is the JLabel's preferredSize ... Nicolas - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent:

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Paulo Soares
Two 1.6G files won't do. The error was that you ran out of virtual space and need a 64 bit machine. You may revert to the RandomAccessFile instead of a mapped file but I doubt that iText can perform reasonably with such big files. Paulo - Original Message - From: "Davy Lee" <[EMAIL PRO

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread robert engels
iText uses a memory mapped file. You may not enough enough contigiuos address space to map a file that large. iText needs to be changed to support a simple RandomAccessFile and then it would work. Doesn't matter anyway, since two 1.6 gig files would be larger than 2 gig... On Dec 18, 2006

Re: [iText-questions] Swing and FontMapper problem

2006-12-18 Thread Paulo Soares
If I remember well the size is calculated based on the awt size, no matter the BaseFont used. It may be another problem related to the printing dimensions you are giving that are smaller than printing to screen or you are using a very older iText version. Paulo - Original Message - Fr

Re: [iText-questions] Swing and FontMapper problem

2006-12-18 Thread Bruno Lowagie (iText)
NCA wrote: > How can I use PdfGraphics2D to compute this ? ( I don't want to rewrite > all the JComponents UI.getPreferredSize code ) > Here is my code : > if ( fontMapper == null ) > fontMapper = new DefaultFontMapper(); Please open the document in Adobe Reader and have a look a

[iText-questions] Swing and FontMapper problem

2006-12-18 Thread NCA
Hello, I want to print a JPanel for a report. In this JPanel I may have any type of JComponent (JLabel, JTable, JTree, etc..), but when I try to print it, the labels are incorrect ( "My te..." instead of "My text"). So y looked into the code, and the JLabel's preferredSize is computed using the

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Davy Lee
When I tried to process two 1.6G pdf file, an error occured: java.io.IOException: Not enough storage is available to process this command at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:742) at com.lowagie.text.pdf.M

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread robert engels
The final merged. On Dec 18, 2006, at 2:31 AM, Davy Lee wrote: > > Dear Paulo, > even for two 2G pdf file, do u have a better sosution to merge them, > sometimes I don't need to modify the pages, sometime I do. > > btw, the 2G limitation is for the original pdf file or for the > finnal merged >

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Paulo Soares
The total size of the file can't be 2G so it would be like two 1G files. Doing this will always take a lot of time and a lot of memory unless the number of pages is small. To merge such big files efficiently you'd have to create a customized PdfCopy. Paulo - Original Message - From: "

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Davy Lee
Dear Paulo, even for two 2G pdf file, do u have a better sosution to merge them, sometimes I don't need to modify the pages, sometime I do. cheers. Davy lee Paulo Soares wrote: > > You'll certainly won't use iText to do this. iText has a 2G size > limitation. > > Paulo > > - Original Mes

Re: [iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Paulo Soares
You'll certainly won't use iText to do this. iText has a 2G size limitation. Paulo - Original Message - From: "Davy Lee" <[EMAIL PROTECTED]> To: Sent: Monday, December 18, 2006 4:11 AM Subject: [iText-questions] How to merge two 3G size pdf fast > > I have two 3G size pdf files, we ne

[iText-questions] How to merge two 3G size pdf fast

2006-12-18 Thread Davy Lee
I have two 3G size pdf files, we need to use ITEXT to merge them into one single new pdf document. However, to do this will waste too much time to finished it. It would cost us about half days to finish to merging process. Do u guys have any new solution to do it? cheers. My code is below: //p