Skip to content

Conversation

@malthe
Copy link
Contributor

@malthe malthe commented May 14, 2019

Co-authored-by: aziesemer [email protected]

@aziesemer
Copy link
Contributor

There was a bug in this version because I was not copying save_cursor by value.
Use in cairosvg/surface.py:
import copy
...
save_cursor = copy.deepcopy((self.cursor_position, self.cursor_d_position, self.text_path_width))

See:
58ac97c

@liZe
Copy link
Member

liZe commented May 14, 2019

Hello!

I can merge this pull request when tests are fixed, but I'd like to avoid a new 1.x version: Python 2 will be dead at the end of the year, it's probably time to port old code to Python 3 instead of backporting new code to Python 2 😇.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants