Fix padding for SVG

This commit is contained in:
Florian Festi 2020-04-26 18:05:18 +02:00
parent 39e2b0cfc3
commit 95dc7f5731
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class Surface:
m = Affine.translation(-extents.xmin, -extents.ymin)
if self.invert_y:
m = Affine.scale(self.scale, -self.scale) * m
m = Affine.translation(0, self.scale*extents.ymax) * m
m = Affine.translation(0, self.scale*extents.ymax+PADDING) * m
else:
m = Affine.scale(self.scale, self.scale) * m