You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Peter Coppens <pc...@gmail.com> on 2007/11/06 19:39:13 UTC

FOP 0.94 - png renderer - transparent-page-background broken?

Fop fans,

Given

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:ltml="http://www.luma.com/ltml">
    <fo:layout-master-set>
      <fo:simple-page-master page-width="190.0pt" page-height="200.0pt"
master-name="r1">
        <fo:region-body/>
      </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="r1">
      <fo:flow flow-name="xsl-region-body">
        <fo:block-container height="100.0pt" width="100.0pt"
position="absolute" top="30pt" left="30pt"  >
          <fo:block>jaja</fo:block>
        </fo:block-container>
      </fo:flow>
    </fo:page-sequence>
</fo:root>


With fop 0.93 and the png renderer the setting of
transparent-page-background works fine. With fop 0.94 that however does not
seem to work anymore.

Suggestions warmly welcomed!

Peter
-- 
View this message in context: http://www.nabble.com/FOP-0.94---png-renderer---transparent-page-background-broken--tf4760086.html#a13612965
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: FOP 0.94 - png renderer - transparent-page-background broken?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
FOP Trunk can never be considered stable, of course. That's where most
of the work happens. If you want to deploy FOP Trunk, you have to test
your use cases yourself. Of course, we have a test suite that convers a
lot of FOP's functionality to keep quality high but things like
Renderers are more difficult to test automatically. So, don't blindly
deploy a Trunk snapshot!

Jeremias Maerki



On 07.11.2007 00:57:20 Peter Coppens wrote:
> 
> Thanks Jeremias....we are up for a release soon...how safe do you anticipate
> it to be to use 'the latest' trunk version iso the 'official' 0.94 build?
> 
> Thanks,
> 
> Peter
> -- 
> View this message in context: http://www.nabble.com/FOP-0.94---png-renderer---transparent-page-background-broken--tf4760086.html#a13618693
> Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: FOP 0.94 - png renderer - transparent-page-background broken?

Posted by Peter Coppens <pc...@gmail.com>.
Thanks Jeremias....we are up for a release soon...how safe do you anticipate
it to be to use 'the latest' trunk version iso the 'official' 0.94 build?

Thanks,

Peter
-- 
View this message in context: http://www.nabble.com/FOP-0.94---png-renderer---transparent-page-background-broken--tf4760086.html#a13618693
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: FOP 0.94 - png renderer - transparent-page-background broken?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Fixed now in FOP Trunk:
http://svn.apache.org/viewvc?rev=592554&view=rev

Jeremias Maerki



On 06.11.2007 21:58:18 Jeremias Maerki wrote:
> Uhm, as far as I can see PNG transparency didn't even properly work with
> FOP 0.93. The good news is that PNG transparency for Java2D/PNG/TIFF
> output will be fixed as part of my refactoring work on the image package.
> 
> OTOH, the transparent-page-background setting is indeed broken. There
> has been some refactoring on the way the renderers are configured. It
> appears that the PNGRenderer got forgotten back then. I'll fix it right
> away.
> 
> Jeremias Maerki
> 
> 
> 
> On 06.11.2007 19:39:13 Peter Coppens wrote:
> > 
> > Fop fans,
> > 
> > Given
> > 
> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> > xmlns:ltml="http://www.luma.com/ltml">
> >     <fo:layout-master-set>
> >       <fo:simple-page-master page-width="190.0pt" page-height="200.0pt"
> > master-name="r1">
> >         <fo:region-body/>
> >       </fo:simple-page-master>
> >     </fo:layout-master-set>
> >     <fo:page-sequence master-reference="r1">
> >       <fo:flow flow-name="xsl-region-body">
> >         <fo:block-container height="100.0pt" width="100.0pt"
> > position="absolute" top="30pt" left="30pt"  >
> >           <fo:block>jaja</fo:block>
> >         </fo:block-container>
> >       </fo:flow>
> >     </fo:page-sequence>
> > </fo:root>
> > 
> > 
> > With fop 0.93 and the png renderer the setting of
> > transparent-page-background works fine. With fop 0.94 that however does not
> > seem to work anymore.
> > 
> > Suggestions warmly welcomed!
> > 
> > Peter
> > -- 
> > View this message in context: http://www.nabble.com/FOP-0.94---png-renderer---transparent-page-background-broken--tf4760086.html#a13612965
> > Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: FOP 0.94 - png renderer - transparent-page-background broken?

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Uhm, as far as I can see PNG transparency didn't even properly work with
FOP 0.93. The good news is that PNG transparency for Java2D/PNG/TIFF
output will be fixed as part of my refactoring work on the image package.

OTOH, the transparent-page-background setting is indeed broken. There
has been some refactoring on the way the renderers are configured. It
appears that the PNGRenderer got forgotten back then. I'll fix it right
away.

Jeremias Maerki



On 06.11.2007 19:39:13 Peter Coppens wrote:
> 
> Fop fans,
> 
> Given
> 
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> xmlns:ltml="http://www.luma.com/ltml">
>     <fo:layout-master-set>
>       <fo:simple-page-master page-width="190.0pt" page-height="200.0pt"
> master-name="r1">
>         <fo:region-body/>
>       </fo:simple-page-master>
>     </fo:layout-master-set>
>     <fo:page-sequence master-reference="r1">
>       <fo:flow flow-name="xsl-region-body">
>         <fo:block-container height="100.0pt" width="100.0pt"
> position="absolute" top="30pt" left="30pt"  >
>           <fo:block>jaja</fo:block>
>         </fo:block-container>
>       </fo:flow>
>     </fo:page-sequence>
> </fo:root>
> 
> 
> With fop 0.93 and the png renderer the setting of
> transparent-page-background works fine. With fop 0.94 that however does not
> seem to work anymore.
> 
> Suggestions warmly welcomed!
> 
> Peter
> -- 
> View this message in context: http://www.nabble.com/FOP-0.94---png-renderer---transparent-page-background-broken--tf4760086.html#a13612965
> Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org