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 Florian Apolloner <fl...@apolloner.eu> on 2010/04/09 13:54:09 UTC

Transparent textcolor/background-color

Hi,

is there a way to set a background-color to an rgba value? Apparently
FOP supports it partially (though css sepcs say color is 6 or 3 in
length) eg #000000FF != #00000000, but alpha values between don't appear
to be working.

Any hints?

Thx, Florian Apolloner


Re: Transparent textcolor/background-color

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
XSL-FO doesn't support any transparent colors or opacity control. You'll
have to resort to using SVG:
http://www.w3.org/TR/SVG11/masking.html#ObjectAndGroupOpacityProperties

On 09.04.2010 13:54:09 Florian Apolloner wrote:
> Hi,
> 
> is there a way to set a background-color to an rgba value? Apparently
> FOP supports it partially (though css sepcs say color is 6 or 3 in
> length) eg #000000FF != #00000000, but alpha values between don't appear
> to be working.
> 
> Any hints?
> 
> Thx, Florian Apolloner
> 




Jeremias Maerki


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