|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: alpha transparency in XML-defined color?XSL-FO, for one, doesn't support specifying alpha values for background
colors. That would have to be done through extension attributes or functions. At the moment, FOP does not support that, except if you use an SVG graphic as background image where you can use fill-/stroke-opacity. I haven't checked that approach but it should work. HTH On 18.06.2008 14:11:42 Vangelis Karageorgos wrote: > Hi everybody, > > a question we've come up with is whether FOP supports alpha transparency in, > say, a block's background color. We have checked out the .png transparency > that has been working fine, yet we're considering whether we could attempt > similar transparency effects with nested blocks of different background > colors including alpha transparency. > > thanks in advance, Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: alpha transparency in XML-defined color?Hi Jeremias,
thanks, what you suggest as a workaround does indeed work with SVG and .png that both support opacity attributes. Is there any idea on whether alpha values for background will be supported by FOP in the near future? all the best,
|
|
|
Re: alpha transparency in XML-defined color?No idea. I don't have any plans in this direction and as I said, this is
not something that's in the XSL spec so there's little motivation to work on it (especially if there are work-arounds). You're also the first to ask for such a feature (if my brain serves me right). You can always implement it yourself and submit a patch. On 27.06.2008 13:38:54 v@k wrote: > > Hi Jeremias, > > thanks, what you suggest as a workaround does indeed work with SVG and .png > that both support opacity attributes. Is there any idea on whether alpha > values for background will be supported by FOP in the near future? > > all the best, > > > > Jeremias Maerki-2 wrote: > > > > XSL-FO, for one, doesn't support specifying alpha values for background > > colors. That would have to be done through extension attributes or > > functions. At the moment, FOP does not support that, except if you use > > an SVG graphic as background image where you can use > > fill-/stroke-opacity. I haven't checked that approach but it should work. > > > > HTH > > > > On 18.06.2008 14:11:42 Vangelis Karageorgos wrote: > >> Hi everybody, > >> > >> a question we've come up with is whether FOP supports alpha transparency > >> in, > >> say, a block's background color. We have checked out the .png > >> transparency > >> that has been working fine, yet we're considering whether we could > >> attempt > >> similar transparency effects with nested blocks of different background > >> colors including alpha transparency. > >> > >> thanks in advance, > > > > > > > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: fop-users-unsubscribe@... > > For additional commands, e-mail: fop-users-help@... > > > > > > > > -- > View this message in context: http://www.nabble.com/alpha-transparency-in-XML-defined-color--tp17981400p18153300.html > Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
| Free Forum Powered by Nabble | Forum Help |