fix direct cairo render
This commit is contained in:
parent
29eb814413
commit
9a295093d9
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class SVGImage:
|
|||
context.paint()
|
||||
if f is None:
|
||||
return surface.write_to_png()
|
||||
surface.write_to_png(f)
|
||||
f.write(surface.write_to_png())
|
||||
|
||||
elif settings.SVG_RENDERER == 'rsvg-convert':
|
||||
p = subprocess.run(('rsvg-convert', '--format', 'png'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue