support alpha for tile background color
This commit is contained in:
parent
5c176bc7bb
commit
300d85e5ed
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ class SVGEngine(RenderEngine):
|
|||
svg.render_cairo(buffered_context)
|
||||
|
||||
# create cropped image
|
||||
surface = buffered_surface.create_similar(cairo.CONTENT_COLOR, self.width, self.height)
|
||||
surface = buffered_surface.create_similar(cairo.CONTENT_COLOR_ALPHA, self.width, self.height)
|
||||
context = cairo.Context(surface)
|
||||
|
||||
# set background color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue