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 direct

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

2009-06-08 Thread Vincent Hennebert
Hi Nancy, Don’t put the new files in system-wide directories (/usr/share/java, /usr/bin/build). Those directories are managed by Debian administration tools and if you manually modify things there you’re likely to break your system. The ideal way is to create a Debian package containing the Trunk

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

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

2009-06-08 Thread Chris Bowditch
nancy_b wrote: 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 xmlgraphics-c

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 xmlgraphics-commons-1.4svn.jar

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 oth

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 Wh

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 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 W

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 threa

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 - I > have no idea how to translate this into XSL/XML. > > Meantime, I did some other tests. Bob Stayto

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-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 - I have no idea how to translate this into XSL/XML. Meantime, I did some other tests. Bob Stayton suggested the following workaround for pr

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... Ca

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 chan

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

2009-06-04 Thread nancy_b
Hi Pascal, I indeed used ☎ - 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 () -and tha

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: ZapfDingbats This should be enough, but IIC, it will also mean that characters that are available in the Symbol font, but not in ZapfDingbats will not be

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 () -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 open

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: ZapfDingbats 2) Installed ZapfDingbats font on my system and registered it in fop conf: 3) Compiled the PDF (XML fil

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 us

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 () -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 file, an

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'. You

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 Za

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: http://www.w3.org/1999/XSL/Format";

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: http://www.w3.org/1999/XSL/Format"; font-family="serif,Symbol,ZapfDingbat

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 b

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 its

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 i

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 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
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-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 Tron

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

2009-06-02 Thread kinda...@gmail.com
I'd the same issue... but in my case, the complete file had 5k pages... I splited it in the chapters, and it managed to run... even if the largest chapter had almost 800 pages. To split it, you just need to find a way to "break" the source into parts and print to fo as if they where separated

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 followin

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 p

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 b

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-sequenc

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

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 http://xmlgraphics.apache.org/fop/0.95/changes_0.95.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 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 or

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