Re: FOP 0.95 fails to compile large PDF files - java heap space
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 thread please? Why are the Symbol and Zapfdiongbat fonts unavailable in italic/bold version? Thank you a lot in advance for building fop.jar for me. You are so kind! :clap: My best wishes, Nancy Andreas Delmelle-2 wrote: 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 fo:block linefeed- treatment=preserve - I have no idea how to translate this into XSL/XML. I admit, this probably requires a significant level of understanding all the Docbook stylesheets' code... Meantime, I did some other tests. Bob Stayton suggested the following workaround for producing special characters: xsl:template match=symb...@role = 'symbolfont'] fo:inline font-family=Symbol xsl:call-template name=inline.charseq/ /fo:inline /xsl:template Personally, as mentioned, I'd make that fo:wrapper instead of fo:inline. fo:inline is really only useful if you need borders or special alignment (sub- or superscript), or if you need margins (which FOP currently does not completely support on inlines anyway). Not that it will have much impact on the result, but the memory consumption should decrease slightly. Every little bit helps there. So I modified it by adding Zapfdingbats before Symbol, and used symbol role = 'symbolfont'#x260E/symbol in my XML. Guess what, it did show the phone symbol, but also converted my math symbol into scissors (rrr). So, I am sick and tired of this -- the only way out is to wait for bugfix in FOP, am I right? I think so. I'll build a fop.jar off today's trunk, and send it to you off-list, so you can try it out and see if that fares better (although I'd rather not see this becoming a standard practice, I'm always willing to make an exception now and then, until we get the automated snapshots operational again) Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://www.nabble.com/FOP-0.95-fails-to-compile-large-PDF-files---java-heap-space-tp23816647p23909748.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 0.95 fails to compile large PDF files - java heap space
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 Webdings fonts in OS X TextEdit, and none of them seem to allow formatting the characters in bold/ italic either. What would a user expect as output for a scissor in italic or bold? Main point remains: FOP should probably just silently revert to 'normal' for the style/weight for those font-families. Thank you a lot in advance for building fop.jar for me. You are so kind! :clap: No problem at all. To tell you the truth, if one has the environment set up correctly, that is just a one-minute job... Glad to be of help! Later Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Hide a character if it is at the end of a line
Hi, is there a way to hide a character if it is at the end of a line? I have two words separated by a semicolon on one line. Like: ; B If the words become to too long for one line, I would like to hide the semicolon. A B Is there any way to do this? Thanks Jan -- View this message in context: http://www.nabble.com/Hide-a-character-if-it-is-at-the-end-of-a-line-tp23910148p23910148.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 0.95 fails to compile large PDF files - java heap space
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 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 Webdings fonts in OS X TextEdit, and none of them seem to allow formatting the characters in bold/ italic either. What would a user expect as output for a scissor in italic or bold? Main point remains: FOP should probably just silently revert to 'normal' for the style/weight for those font-families. Thank you a lot in advance for building fop.jar for me. You are so kind! :clap: No problem at all. To tell you the truth, if one has the environment set up correctly, that is just a one-minute job... Glad to be of help! Later Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://www.nabble.com/FOP-0.95-fails-to-compile-large-PDF-files---java-heap-space-tp23816647p23910330.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP issue - Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'.
Hi, Did you remember to set fop1.extensions = 1? Where should I set this?. Thanks, Danushka -- Danushka Menikkumbura Technical Lead, WSO2 Inc. blog : http://danushka-menikkumbura.blogspot.com/ http://wso2.com/ - The Open Source SOA Company
Re: FOP 0.95 fails to compile large PDF files - java heap space
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 Where should I put the new one? That depends from where the current one is run. Can you check whether they are both really the JARs, and one is not simply a symlink to the other? Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Hide a character if it is at the end of a line
On 07 Jun 2009, at 13:43, cymoon wrote: is there a way to hide a character if it is at the end of a line? In theory, yes, but I don't think FOP supports it completely... :/ The FO idiom to achieve what you need would be: fo:block AAAfo:character character=; suppress-at-line-break=true / BBB ... /fo:block Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: FOP issue - Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'.
Danushka Menikkumbura wrote: Alias John Brown wrote: Did you remember to set fop1.extensions = 1? Where should I set this?. Thanks, Danushka -- Anywhere, I suppose. Wherever you set your other parameters (such as double.sided.), or you can set it on your XSLT processor's command line. Regards, Alias John Brown. _ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Hide a character if it is at the end of a line
Thanks Andreas. In theory, yes, but I don't think FOP supports it completely... :/ Its true there is a big red NO on the Apache FOP Compliance Page. Even in the development column. Cheers Jan -- View this message in context: http://www.nabble.com/Hide-a-character-if-it-is-at-the-end-of-a-line-tp23910148p23916098.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Unable to write to default external resource group file 'resources.afp'. and Problem with images when the mode is set to color
Hi Andreas, I have tested it. It is creating the file, if the file does not exist. Thank you very much... Regards, Bharat Andreas Delmelle-2 wrote: On 05 Jun 2009, at 22:18, Andreas Delmelle wrote: Hi Bharat On 05 Jun 2009, at 22:05, attaluri1210 wrote: ..., I noticed when checking the code that we test for resourceFile.canWrite(), and the Java API docs explicitly state that it returns true if and only if the file system actually contains a file denoted by this abstract pathname /and/ the application is allowed to write to the file. So, if the file does not exist, canWrite() will return false and leads to the cited error message. I'll see if I can add a small change that creates the file if it does not exist, before the call to canWrite(). I'll let you know when this is done, so you can update your copy of trunk. As an interim solution, I have made a change to org.apache.fop.render.afp.AFPRendererConfigurator, and attached the patch in attach. Before I commit it to the trunk, can you try and apply the patch locally on your end, and report back on whether that eliminates the error message? Thanks! Andreas Andreas Delmelle mobile: +32-484-916.196 e-mail: andreas.delmelle.AT.telenet.be Skype: adlm0608 Jabber: mandr...@jabber.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- View this message in context: http://www.nabble.com/Unable-to-write-to-default-external-resource-group-file-%27resources.afp%27.-and-Problem-with-images-when-the-mode-is-set-to-color-tp23857578p23917592.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org