mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-09-11 20:47:56 +03:00
Usee *= when possible
This commit is contained in:
parent
f4f9d3460d
commit
50710de8e9
@ -169,7 +169,7 @@ def text(svg, node, font_size):
|
||||
letter, style, svg.context, inf, 0)
|
||||
x = svg.cursor_position[0] if x is None else x
|
||||
y = svg.cursor_position[1] if y is None else y
|
||||
width = width*scale_x
|
||||
width *= scale_x
|
||||
if i:
|
||||
x += letter_spacing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user