By going directly to FOP, I can render part of it in pdf.... Is there a page-width limit on FOP, does this appear to be a FOP issue limitation? Note that increasing the page-width in the following will eventually cause the text to stop rendering:
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-width="400cm" master-name="first"> <fo:region-body margin-top="1cm"/> <fo:region-before extent="1cm"/> <fo:region-after extent="1.5cm"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="first"> <fo:flow flow-name="xsl-region-body"> <fo:block> <fo:external-graphic src="url(pastie-3329528.svg)"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> save as my.fo and invoke fop ... # fop my.fo my.pdf (requires Markus' pasties svg) On Tue, Feb 7, 2012 at 11:06 AM, mmoorman <mmoor...@uos.de> wrote: > converting to png and jpeg always works but the qualtiy is absolutly > terrible. A lot of artifacts. Trying your invocation leads to the same > issue. > > Markus > > Am 07.02.2012 15:46, schrieb jonathan wood-3 [via Batik]: > > Adding a background gives me some contrast and makes it readable...the > alignment does not look as expected though...looks like the character width > is not being respected on conversion...manually changing the font to > monospaced helps alot, but is not a complete fix > > here's my invocation: > > java -jar src/batik/trunk/batik-1.8pre/batik-rasterizer.jar > ~/Downloads/pastie-3329528.svg -bg 255.255.255.255 > > > On Tue, Feb 7, 2012 at 4:16 AM, mmoorman <[hidden > email]<http://user/SendEmail.jtp?type=node&node=4364913&i=0> > > wrote: > >> Hi, >> >> I've profiled the application and used HeapSpace is always below the >> allowed >> one. Also specifying a region doesn't result in a real pdf. It's still >> 0byte. >> Other advices? >> >> Markus >> >> -- >> View this message in context: >> http://batik.2283329.n4.nabble.com/PDFTranscoder-is-producing-0byte-file-tp4362564p4364144.html >> Sent from the Batik - Users mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=4364913&i=1> >> For additional commands, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=4364913&i=2> >> >> > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://batik.2283329.n4.nabble.com/PDFTranscoder-is-producing-0byte-file-tp4362564p4364913.html > To unsubscribe from PDFTranscoder is producing 0byte file, click here. > NAML<http://batik.2283329.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > ------------------------------ > View this message in context: Re: PDFTranscoder is producing 0byte > file<http://batik.2283329.n4.nabble.com/PDFTranscoder-is-producing-0byte-file-tp4362564p4365214.html> > > Sent from the Batik - Users mailing list > archive<http://batik.2283329.n4.nabble.com/Batik-Users-f2970783.html>at > Nabble.com. >