Re: [iText-questions] Problem with transparent images

2008-02-20 Thread 1T3XT info
Stephan Michels wrote: The Acrobat Reader seems to mix or change colors, which are used in a page if I use a image with an alpha channel. I tracked down the problem to the method Image.getInstance(java.awt.Image, java.awt.Color, boolean). The problem occurs if the method sets the

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Stephan Michels
2008/2/20, 1T3XT info [EMAIL PROTECTED]: Stephan Michels wrote: I made following screenshots to show the problem: I'm not sure what I'm supposed to see. In one screen there's a thicker border than in the other three screens. I guess that's your problem, but... I don't know what you are

Re: [iText-questions] RTF Merge

2008-02-20 Thread Bruno Lowagie
Mark Hall wrote: Hi, wait for the next release where the RTF import functionality has been massively improved (or compile yourself from the SVN source). The current release only supports very simple documents. I am currently updating the acknowledgments page:

[iText-questions] migration itext problem: missing or replaced class.

2008-02-20 Thread Ghita Marian Pop
Hi there, I have a application which use itext to build pdf report file. Till now I have been used version 1.4.8, I made a migration to version 2.0.8 because of some new futures functionality. So far everything was ok except that I used from old version a class com.lowagie.text.Graphic to

[iText-questions] OutOfMemory Exception loading font from JAR

2008-02-20 Thread Gigel
Hi, I am trying to load a font from a jar like this: FontFactory.getFont( /fonts/FreeSerif.ttf); When the font size is reasonably small ( 1 MB ) it works ok. But I am using fonts with unicode support that have at least 10MB in size and I get this error: java.lang.OutOfMemoryError:

Re: [iText-questions] Unicode Text in PDF

2008-02-20 Thread Bogdan M. Maryniuk
On Feb 20, 2008 4:31 PM, 1T3XT info [EMAIL PROTECTED] wrote: Why are you hiding the most important information in your code snippet? What is fPath? Hey, why should I? You suppose I will read http://catb.org/~esr/faqs/smart-questions.html !? :-) Yes, I am sorry for missing that, my bad. Thanks,

Re: [iText-questions] migration itext problem: missing or replaced class.

2008-02-20 Thread 1T3XT info
Ghita Marian Pop wrote: So my question is: Which is the replaced or functionality for old class? Please don't post the same question twice if it has already been answered: http://www.nabble.com/Re%3A-migration-itext-problem%3A-missing-or-replaced-class.-p15570041.html If the answer didn't help

Re: [iText-questions] OutOfMemory Exception loading font from JAR

2008-02-20 Thread 1T3XT info
Gigel wrote: Is this a bug in iText or am I using it wrong? Before thinking of a bug in iText, you'd need to establish if the problem is caused by the fact that you're not throwing enough memory at the application. It's not because a compressed file is 10 MB, that it's sufficient to provide 10

Re: [iText-questions] RTF Merge

2008-02-20 Thread Mark Hall
Hi, wait for the next release where the RTF import functionality has been massively improved (or compile yourself from the SVN source). The current release only supports very simple documents. Mark On 20 Feb 2008, at 03:32, Anil Kumar wrote: Hi, I am trying to merge multiple RTF file in

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Leonard Rosenthol
On Feb 20, 2008, at 3:26 AM, Stephan Michels wrote: Good point, that the Acrobat Reader changes the colors to the CMYK color space was one of my assumptions. Hmm, so what can I do? How I can prevent that the Acrobat Reader change to the CMYK color space? Tell the PDF consumer what

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Stephan Michels
2008/2/20, Leonard Rosenthol [EMAIL PROTECTED]: On Feb 20, 2008, at 3:26 AM, Stephan Michels wrote: Good point, that the Acrobat Reader changes the colors to the CMYK color space was one of my assumptions. Hmm, so what can I do? How I can prevent that the Acrobat Reader change to the

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Leonard Rosenthol
On Feb 20, 2008, at 7:59 AM, Stephan Michels wrote: 2008/2/20, Leonard Rosenthol [EMAIL PROTECTED]: Tell the PDF consumer what colorspace to use by explicitly setting the transparency blending space! And how can I set the default transparency blending space with itext? There is an

Re: [iText-questions] OutOfMemory Exception loading font from JAR

2008-02-20 Thread Gigel
1T3XT info wrote: So the first question is: can you make the problem go away by throwing more memory at it? -- Thanks, increasing heap memory seems to solve the problem. -- View this message in context:

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread 1T3XT info
Stephan Michels wrote: And how can I set the default transparency blending space with itext? This is explained in chapter 12 of iText in Action. Some pseudocode (so that you can Google for the keywords): PdfGState gs = new PdfGState(); gs.setBlendMode(choose state); cb.setState(gs); With cb a

Re: [iText-questions] RTF Merge

2008-02-20 Thread Howard Shank
Hi Anil, There are few or no examples of the new functionality being developed for RTF handling at this time. I personally haven't had time to work on examples yet. As for merge functionality, there are some basic merge capabilities at this time, but they are very simple. I have not completed

Re: [iText-questions] RTF Merge

2008-02-20 Thread Anil Kumar
Hi Mark Do you have an example for this based on SVN code ? Regards Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 February 2008 3:24 PM To: Post all your questions about iText here Cc: Anil Kumar Subject: Re: [iText-questions] RTF Merge Hi,

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Leonard Rosenthol
On Feb 20, 2008, at 9:28 AM, Stephan Michels wrote: 2008/2/20, 1T3XT info [EMAIL PROTECTED]: Stephan Michels wrote: And how can I set the default transparency blending space with itext? Some pseudocode (so that you can Google for the keywords): PdfGState gs = new PdfGState();

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Stephan Michels
2008/2/20, 1T3XT info [EMAIL PROTECTED]: Stephan Michels wrote: And how can I set the default transparency blending space with itext? Some pseudocode (so that you can Google for the keywords): PdfGState gs = new PdfGState(); gs.setBlendMode(choose state); cb.setState(gs); Hmm, doesn't

Re: [iText-questions] RTF Merge

2008-02-20 Thread Anil Kumar
Thanks for the help Mark. I tried new source, but I am unable to find a way around encoding issue faced when using StringReader in writer2.importRtfDocument(reader); because image data are written as bytes and when converted to characters those data gets messed up and I get exception. Is this the

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Stephan Michels
2008/2/20, Leonard Rosenthol [EMAIL PROTECTED]: Hmm, doesn't help :-( I tried every blend mode, but this doesn't prevent Acrobat from switching to the CMYK color space. You need to set the COLORSPACE to DeviceRGB... Thanks, but how can I achieve it? I tried 1. ImgTemplate image2

[iText-questions] Javascript from Acroform Fields

2008-02-20 Thread Joe Gerew
I need to be able to extract the javascript code from an acrofield item. For example, if the onmouseover code is app.alert(Hello World); then I would like to retrieve that code via Java. The javascript is placed in the field via Adobe Acrobat (not generating forms with iText...yet)

Re: [iText-questions] Javascript from Acroform Fields

2008-02-20 Thread 1T3XT info
Joe Gerew wrote: Can this be done? AS I HAVE SAID BEFORE: http://www.nabble.com/Re%3A-Javascript-from-Acroform-Fields-p15484333.html THIS QUESTION HAS ALREADY BEEN ANSWERED: http://www.nabble.com/Re%3A-iText-Acrofields-and-Javascript-p15286298.html SEE ALSO:

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Leonard Rosenthol
You need to put the colorspace into the blending space that you were workign with before... Look at the PDF Reference for details on page blending spaces... Leonard On Feb 20, 2008, at 10:32 AM, Stephan Michels wrote: 2008/2/20, Leonard Rosenthol [EMAIL PROTECTED]: Hmm, doesn't help :-( I

Re: [iText-questions] RTF Merge

2008-02-20 Thread Howard Shank
Try it this way, rtfWriter.importRtfDocument(new FileReader(testfile_in.rtf)); Howard - Original Message From: Anil Kumar [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Wednesday, February 20, 2008 7:03:15 AM Subject: Re: [iText-questions] RTF Merge Thanks for the

Re: [iText-questions] Problem with transparent images

2008-02-20 Thread Eliot M Cline
2008/2/20, Leonard Rosenthol [EMAIL PROTECTED]: Hmm, doesn't help :-( I tried every blend mode, but this doesn't prevent Acrobat from switching to the CMYK color space. You need to set the COLORSPACE to DeviceRGB... Thanks, but how can I achieve it? I tried 1. ImgTemplate

[iText-questions] Sometimes numbers are appearing in Nested Lits, even if lettered and numbered set as false.!

2008-02-20 Thread XivaX
Hi all, I have implemented some huge loops with respect to my application for generationg loops. It may bring more than 50 pages by Lists itself. I just wanted to get bullet symbol all the time, so I set numbered and letterd arguments as false. But in some situation i get numbers as list