Subject: Re: PS output different from PDF



In the configuration file, not the FO!

<fop>

[..]

<renderers>
[..]

<renderer mime="application/postscript">
<auto-rotate-landscape>true</auto-rotate-landscape>
<fonts>
[..]
</fonts>
</renderer>
</renderers>
</fop>

General information about FOP's configuration format here:
http://xmlgraphics.apache.org/fop/0.95/configuration.html

To use it from the command-line, the "-c" parameter.

And from Java:
http://xmlgraphics.apache.org/fop/0.95/embedding.html#config-external

On 20.02.2009 11:25:38 Frank Niedermann wrote:
>
>
>
> Jeremias Maerki-2 wrote:
> >
> > The page format and margins are not ignored. The values in the PS file
> > are correct. You may simply have to put this in the configuration for
> > the PS output:
> > <auto-rotate-landscape>true</auto-rotate-landscape>
> >
>
> Do you have an example where to put the renderer-configuration for PS?
> http://xmlgraphics.apache.org/fop/0.95/output.html#ps-configuration shows
> what can be defined but not where and if I put it into the xsl-file I get an
> error:
>
> 20.02.2009 11:20:46 org.apache.fop.fo.ElementMappingRegistry findFOMaker
> WARNUNG: Unknown formatting object ^renderer
> 20.02.2009 11:20:46 org.apache.fop.fo.ElementMappingRegistry findFOMaker
&g...

t; WARNUNG: Unknown formatting object ^auto-rotate-landscape
>
> Thanks,
> Frank
> --
> View this message in context:
> http://www.nabble.com/PS-output-different-from-PDF-tp22103120p22118215.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: fop-users-help@xxxxxxxxxxxxxxxxxxxxxx



Privacy