[daisy] SVG to PDF
CampbellG at dfo-mpo.gc.ca
CampbellG at dfo-mpo.gc.ca
Thu Jul 6 09:17:20 CDT 2006
My svg's are showing up in the pdf's now, however they are being rendered as
bitmaps. Is there a setting somewhere to change this?
Glenn Campbell
Acting Manager chef par intérim
Informatics Informatique
Canadian Coast Guard College Collège de la Garde côtière canadienne
Telephone : 902-567-3222 téléphone : 902-567-3222
Fax : 902-567-3232 fax : 902-567-3232
-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Bruno Dumon
Sent: July 6, 2006 10:14 AM
To: Daisy: open source CMS - general mailinglist
Subject: RE: [daisy] SVG to PDF
On Thu, 2006-07-06 at 09:01 -0400, CampbellG at dfo-mpo.gc.ca wrote:
> Please forgive my stupidity. I'm still asleep I'm sure. Here is the
> stdout from the wiki:
>
> 10:01:28.587 WARN!! [SocketListener0-3]
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:61
> 8)
> >11> Error for
> /daisy/cgccms/ext/svg/svg-to-png?documentId=36&branch=main&language=de
> fault&
> version=live&part=SvgData
> java.lang.InternalError: Can't connect to X11 window server using
> ':0.0' as the value of the DISPLAY variable.
Ah, this explains a lot. Try the following.
Edit the <daisy>/daisywiki/bin/daisy-wiki startup script, and add the
following parameter to the java startup command (the last line in that
file):
-Djava.awt.headless=true
Thus the last line should become something like:
$JAVA_HOME/bin/java -Djava.awt.headless=true -Xmx128m
-Djava.endorsed.dirs=$DAISYWIKI_HOME/endorsedlibs/
-Ddaisywiki.home=$DAISYWIKI_HOME -Dorg.mortbay.util.URI.charset=UTF-8
-Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Duser.variant=
-Ddaisywiki.data=$DAISYWIKI_DATA -jar start.jar $CONFFILE
I thought we had that parameter in there by default, but apparently not.
I will look into fixing this.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/site/services/daisy/daisysupport.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy
More information about the daisy
mailing list