Re: Japanese PDF rendering

2009-05-07 Thread Heather Phipps
(Sorry, I meant "to 1 GB," not "by 1 GB) Also, to clarify, when I do "forrest run" the PDFs are in fact generated, but they use the default fonts, so the Japanese once again displays as

Re: Japanese PDF rendering

2009-05-07 Thread Heather Phipps
As stated previously in this thread, the out of memory issue was resolved by increasing the memory to Java by 1 GB. The outstanding issue is that the font is properly embedded when I use "forrest site" to pre-generate content but not when I use "forrest-run" and the PDFs are (apparently) created o

Re: Japanese PDF rendering

2009-05-07 Thread Jeremias Maerki
On 08.05.2009 03:29:20 David Crossley wrote: > Heather Phipps wrote: > > Actually, with my little hack, the font is properly embedded in the PDF only > > when pre-generated, i.e., when you do "forrest site," but not when the PDFs > > are generated on the fly, i.e., when you do "forrest run." Not s

Re: Japanese PDF rendering

2009-05-07 Thread David Crossley
Heather Phipps wrote: > Actually, with my little hack, the font is properly embedded in the PDF only > when pre-generated, i.e., when you do "forrest site," but not when the PDFs > are generated on the fly, i.e., when you do "forrest run." Not sure exactly > what accounts for the difference. If a

Re: Japanese PDF rendering

2009-05-07 Thread Heather Phipps
Actually, with my little hack, the font is properly embedded in the PDF only when pre-generated, i.e., when you do "forrest site," but not when the PDFs are generated on the fly, i.e., when you do "forrest run." Not sure exactly what accounts for the difference. If anyone has a better understandi

Re: Japanese PDF rendering

2009-04-29 Thread Heather Phipps
I increased the memory to Java by editing maxmemory property in the site's forrest.properties file: # Max memory to allocate to Java forrest.maxmemory=1024m Japanese displays correctly now in PDF from DocBook source! (Turns out there was no need to update the FOP jar file.)

Re: Japanese PDF rendering

2009-04-29 Thread Heather Phipps
I have an update and some further questions. The Japanese font display issue is only occurring with my DocBook XML source files. These are not handled by document2fo.xsl, but rather by the DocBook 4.4 stylesheets, which I downloaded and included on my own. Here is an excerpt from my project site

Re: Japanese PDF rendering

2009-04-24 Thread Heather Phipps
Hi David, Thank you for pointing that out. I am new to using the plugins and didn't realize this. So, I attempted to follow your advice: heather-phipps-computer:org.apache.forrest.plugin.output.pdf Heather$ /Users/Heather/apache-forrest-0.8/tools/ant/bin/ant local-deploy Buildfile: build.xml i

Re: Japanese PDF rendering

2009-04-23 Thread David Crossley
Heather Phipps wrote: > > Unfortunately, even after editing > $FORREST/apache-forrest-0.8/plugins/org.apache.forrest.plugin.output.pdf/output.xmap, > I am unable to get the font to display correctly in the PDF file. Whenever a local plugin's resources (e.g. sitemaps or stylesheets, etc.) are edit

Re: Japanese PDF rendering

2009-04-23 Thread Dr. Bhatia Praveen
done, to see if I can help you further. Will get back to you later on that. best wishes Praveen - Original Message - From: "Heather Phipps" To: ; "Dr. Bhatia Praveen" Sent: Thursday, April 23, 2009 3:19 PM Subject: Re: Japanese PDF rendering Hi Praveen, I

Re: Japanese PDF rendering

2009-04-22 Thread Heather Phipps
Hi Praveen, I very much appreciate your prompt response, as I have been struggling with this issue for quite some time now. Unfortunately, even after editing $FORREST/apache-forrest-0.8/plugins/org.apache.forrest.plugin.output.pdf/output.xmap, I am unable to get the font to display correctly in t

Re: Japanese PDF rendering

2009-04-18 Thread Dr. Bhatia Praveen
Hello Heather, I have made Japanese characters work in 0.8. I had similar problems as yours earlier but few months of work got it right. In short, the problem is with the Japanese fonts and the new version of Forrest. Please note that the instructions that you are following in the link ar