Skip to content

Commit

Permalink
Fix double x/y transform for use tags
Browse files Browse the repository at this point in the history
Fix #1345.
  • Loading branch information
liZe committed Apr 28, 2021
1 parent e126beb commit 26cc19c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions weasyprint/svg/defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ def use(svg, node, font_size):
from . import SVG

svg.stream.push_state()
svg.stream.transform(
1, 0, 0, 1, *svg.point(node.get('x'), node.get('y'), font_size))

for attribute in ('x', 'y', 'viewBox', 'mask'):
if attribute in node.attrib:
Expand Down

0 comments on commit 26cc19c

Please sign in to comment.