Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-09 Thread nancy_b
Hi, I tried to do what Chris told me, and FOP started working, but the warnings did not disappear. Decided to take a deep breath and wait for the new stable FOP version %-| Vincent Hennebert-2 wrote: Best regards, Nancy Hi Nancy, Don’t put the new files in system-wide directories

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-08 Thread Chris Bowditch
Andreas Delmelle wrote: On 07 Jun 2009, at 12:45, nancy_b wrote: Hi Andreas, Hi Nancy, Could I ask the last question in this long thread please? Why are the Symbol and Zapfdiongbat fonts unavailable in italic/bold version? Hmm... To be honest, I don't know the precise reason. On the

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-08 Thread nancy_b
Hi dear Andreas! Sorry, you are right.. I just couldn't identify your message among piles of messages I've got. So first of all, thanks a lot for your prompt help! I unzipped fop.jar to /usr/bin/build/ and /usr/share/java (how do I check which is a symlink ?), and

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-08 Thread nancy_b
Hi Chris, Thanks for your valuable comments! Do I have to rename the new files with the names of the original ones? Best regards, Nancy cbowditch wrote: nancy_b wrote: Hi dear Andreas! Sorry, you are right.. I just couldn't identify your message among piles of messages I've got.

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-07 Thread nancy_b
Hi Andreas, Thank you a lot for your valuable help!!! I really appreciate that! I decided not to use workarounds, and wait for the next FOP build. I can live with these warnings for a while - the main thing is to understand why they are generated. Could I ask the last question in this long

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-07 Thread Andreas Delmelle
On 07 Jun 2009, at 12:45, nancy_b wrote: Hi Nancy, Could I ask the last question in this long thread please? Why are the Symbol and Zapfdiongbat fonts unavailable in italic/bold version? Hmm... To be honest, I don't know the precise reason. On the other hand, I just played with some other

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-07 Thread nancy_b
Thank you again, dear Andreas!!! Looking forward to getting the all new fop.jar.:jumping: By the way, I have two instances of it: /usr/bin/build/fop.jar (where fop is installed) and /usr/share/java/fop.jar Where should I put the new one? Best regards, Nancy Andreas Delmelle-2 wrote: On

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-07 Thread Andreas Delmelle
On 07 Jun 2009, at 14:05, nancy_b wrote: Hi Nancy Looking forward to getting the all new fop.jar.:jumping: You mean you haven't received it? I sent it out last Thursday... By the way, I have two instances of it: /usr/bin/build/fop.jar (where fop is installed) and /usr/share/java/fop.jar

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-05 Thread Vincent Hennebert
Hi Nancy, nancy_b wrote: Hi Andreas, It seems that getting FOP from the trunk is too complicated for me. When is the next binary FOP version due to? Regarding what you said about fo:block linefeed-treatment=preserve - I have no idea how to translate this into XSL/XML. Meantime, I did

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi dear Andreas, Thanks for your explanations. I think my version of FOP 0.95 does insert Symbol and Zapfdingbats into the font-family parameter - along with sans-serif. Apparently, my repository points to the trunk. Look: fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 10:15, nancy_b wrote: Hi Nancy Thanks for your explanations. I think my version of FOP 0.95 does insert Symbol and Zapfdingbats into the font-family parameter - along with sans-serif. Apparently, my repository points to the trunk. Look: fo:root

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Andreas, Thanks for your response! So if I install FOP 0.95 from trunk, will it still issue the warnings? I don't understand what you mean by : ... is specified as the first font (depending on which character/codepoint you want to render. In my XML file, I just specify the code of the

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 13:17, nancy_b wrote: Hi Nancy Thanks for your response! So if I install FOP 0.95 from trunk, will it still issue the warnings? Just so we are clear: you either use 0.95 or you use the trunk version. I'm puzzled as to what you mean by 'installing 0.95 from trunk'.

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Andreas, I thought that it's enough to put the ZapfDingBat's hexadecimal code for the symbol in my XML file (#x206E) -and that's it - FOP will understand that it has to pick up the Zapfdingbats font and draw the telephone symbol. That's what I did. After compiling the PDF, I opened the .fo

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 14:33, nancy_b wrote: Hi Nancy So you mean that if Symbol is the first font, FOP will pick it up, fail to produce the phone symbol, and won't fall back to ZapfDingbats? For FOP 0.95 or earlier, the answer is unfortunately: Yes. As mentioned, FOP Trunk will effectively

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Andreas, Thanks for your patience! :-) Taking into account what you said, I did the following test: 1) In my customization area, I added: xsl:param name=symbol.font.familyZapfDingbats/xsl:param 2) Installed ZapfDingbats font on my system and registered it in fop conf:

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Pascal SANCHO
nancy_b a écrit : Hi Andreas, I thought that it's enough to put the ZapfDingBat's hexadecimal code for the symbol in my XML file (#x206E) -and that's it - FOP will understand that it has to pick up the Zapfdingbats font and draw the telephone symbol. That's what I did. After compiling the PDF,

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 15:07, nancy_b wrote: Hi Nancy Thanks for your patience! :-) No problem. 1) In my customization area, I added: xsl:param name=symbol.font.familyZapfDingbats/xsl:param This should be enough, but IIC, it will also mean that characters that are available in the Symbol

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Pascal, I indeed used #x260E; - just made a mistake when writing this message - sorry for that! :-) Regards, nancy Pascal Sancho wrote: nancy_b a écrit : Hi Andreas, I thought that it's enough to put the ZapfDingBat's hexadecimal code for the symbol in my XML file (#x206E) -and

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Andreas, Entering font triplets soothes FOP's pain - no warnings are generated :-) By the way, if you don't specify embed-url, how FOP knows where this file is located? It's not in the standard /fonts folder. I removed the font registration from the conf file and recompiled. Nothing has

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 15:30, nancy_b wrote: Hi Nancy Entering font triplets soothes FOP's pain - no warnings are generated :-) By the way, if you don't specify embed-url, how FOP knows where this file is located? It's not in the standard /fonts folder. That's what I'm wondering as well...

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread nancy_b
Hi Andreas, It seems that getting FOP from the trunk is too complicated for me. When is the next binary FOP version due to? Regarding what you said about fo:block linefeed-treatment=preserve - I have no idea how to translate this into XSL/XML. Meantime, I did some other tests. Bob Stayton

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-04 Thread Andreas Delmelle
On 04 Jun 2009, at 17:01, nancy_b wrote: Hi Nancy It seems that getting FOP from the trunk is too complicated for me. When is the next binary FOP version due to? Well, it was initially planned for early this year, but we didn't quite get around to it yet. Regarding what you said about

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread nancy_b
Hi, Thanks a lot for suggestions. It seems that I have increased JAVA heap space, by specifying -Xmx1000m (I have 2Gb) , although I am not sure how much I should really allocate for running compilation of large docs. The question that remained unclear is that while FOP 0.94 doesn't complain on

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread Pascal SANCHO
nancy_b a écrit : Hi, Thanks a lot for suggestions. It seems that I have increased JAVA heap space, by specifying -Xmx1000m (I have 2Gb) , although I am not sure how much I should really allocate for running compilation of large docs. The question that remained unclear is that while FOP 0.94

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread nancy_b
Thanks for suggestions! Kindaian wrote: In my case, i had to change it to the max that the machine would accept... somewhere around 1024m... [but it was on windows and on a 32bit environment... on 64 bits - both os and java - this issues are largelly overcome by the ability to

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread Vincent Hennebert
Hi Nancy, nancy_b wrote: Hi, Thanks a lot for suggestions. It seems that I have increased JAVA heap space, by specifying -Xmx1000m (I have 2Gb) , although I am not sure how much I should really allocate for running compilation of large docs. If that works with -Xmx1000m, then go for it.

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread nancy_b
Hi dear Vincent! First of all, thank you a lot for your explanations!!! ...the reason was to make the Jeuclid plug-in work more out of the box... I checked on my system - I don't have the Jeuclid plug-in on my system (should be in /lib directory, right?). Does it come by default with FOP or

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-03 Thread Andreas Delmelle
On 03 Jun 2009, at 15:29, nancy_b wrote: Hi Nancy, Vincent, First of all, thank you a lot for your explanations!!! ...the reason was to make the Jeuclid plug-in work more out of the box... Well, actually, the change mentioned by Vincent is not yet in 0.95. The FOPropertyMapping in that

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread Pascal SANCHO
nancy_b a écrit : Hi folks, I decided to move to FOP 0.95 (previously used FOP 0.94). When compiling a large PDF doc (more than 200 pages) the following error occurs: FOP Exception in thread main java.lang.OutOfMemoryError: Java heap space What is really frustrating and annoying is that FOP

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread nancy_b
Hi dear Pascal, Thank you for your response. I can't see any improvement in handling fonts. For example, while FOP 0.94 hasn't complained, FOP 0.95 generates the following error message: WARNING: Font 'Symbol,normal,700' not found. Substituting with 'Symbol,normal,400'. Jun 2, 2009 2:14:25 PM

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread Pascal SANCHO
nancy_b a écrit : Hi dear Pascal, Thank you for your response. I can't see any improvement in handling fonts. See: http://xmlgraphics.apache.org/fop/0.95/changes_0.95beta.html#Changes+to+the+Font+Subsystem

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread nancy_b
Hi Pascal, thanks for your suggestions. I am using Debian Linux, so I don't have FOP.BAT on my system. Do you have any ideas where I should enter it on Linux? Thanks in advance! Nancy Pascal Sancho wrote: nancy_b a écrit : Hi dear Pascal, Thank you for your response. I can't see any

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread Tobias Anstett [k15t.com]
Hi Nancy, I decided to move to FOP 0.95 (previously used FOP 0.94). When compiling a large PDF doc (more than 200 pages) the following error occurs: FOP Exception in thread main java.lang.OutOfMemoryError: Java heap space Is the content of your PDF wrapped in one single fo:page-sequence (in

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread Pascal SANCHO
nancy_b a écrit : Hi Pascal, thanks for your suggestions. I am using Debian Linux, so I don't have FOP.BAT on my system. Do you have any ideas where I should enter it on Linux? Thanks in advance! Nancy Unfortunately, I'm not familiarized with shell script under Linux. I just know that the

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread nancy_b
Hi Tobias, Thanks for your valuable input. How can I split the file? Yes, I create a .fo file first. Thanks in advance! Nancy Tobias Anstett [k15t.com] wrote: Hi Nancy, I decided to move to FOP 0.95 (previously used FOP 0.94). When compiling a large PDF doc (more than 200 pages) the

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread Remko Tronçon
thanks for your suggestions. I am using Debian Linux, so I don't have FOP.BAT on my system. Do you have any ideas where I should enter it on Linux? Did you install fop through apt-get install? If so: without having tried this myself, but by looking at the Debian package, perhaps the following

Re: FOP 0.95 fails to compile large PDF files - java heap space

2009-06-02 Thread kinda...@gmail.com
In my case, i had to change it to the max that the machine would accept... somewhere around 1024m... [but it was on windows and on a 32bit environment... on 64 bits - both os and java - this issues are largelly overcome by the ability to address much more] ;) On 02-06-2009 16:23, Remko