xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Olsson" <henrik.ols...@intentia.se>
Subject Re: Postscript landscape problem.
Date Fri, 18 Apr 2003 21:41:31 GMT
Thanks, I think I can do with that sulotion, will the PCLRenderer get the 
same functionality, or it will stick to the old sulotion?

/Henrik
 
>Ok, this is done for HEAD and maintenance branch.
>
>In HEAD this will be activated using a configuration element
><auto-rotate-landscape>true</auto-rotate-landscape>.
>
>In the maintenance branch you have to instantiate the PS renderer
>yourself and call setAutoRotateLandscape(true):
>
>import org.apache.fop.render.ps.PSRenderer;
>
>PSRenderer renderer = new PSRenderer();
>renderer.setAutoRotateLandscape(true);
>driver.setRenderer(renderer);
>
>That ok for you, Henrik?
>
>On 17.04.2003 16:25:29 Jeremias Maerki wrote:
>> What you propose is not always desired. You can see the FIXME for the
>> PCLRenderer where there is a similar problem. I will not directly apply
>> your patch but will change the PostScript renderer in a way that you 
can
>> do what you want but without changing semantics (which your code does).
>>
>> You'll hear again from me shortly. Thanks for your patience.
>>
>> On 17.04.2003 10:38:59 Henrik Olsson wrote:
>> > Hi, I found that my printouts in postscript (fop-maintain) always are
>> > printed as 'portrait' when the were suposed to be 'landscape'.
>> > I found a pece of code in the PCLRenderer that fixt it for PCL and 
there
>> > were nothing like it in the PSRenderer.
>> > So I have created a patch that will do the trick for the PSRenderer, 
and
>> > would be realy pleased if someone would put it in the maintaine 
branche.
>
>
>Jeremias Maerki


Mime
View raw message