Cool! Did you figure out the deal with cairosvg or code your way around it?
Good timing. I'm just getting back into a project that's complex enough I need some good process-flow and state diagrams to keep me sane. I'll check it out ASAP.
Neither :). All the gifs you see in the post are generated with the current implementation so cairosvg seems to work out of the box at least in my setup. But that’s Linux, perhaps some dependencies are already installed by default. I definitely have to check Windows at some point, but that takes a bit of effort setting up VMs and stuff.
The error occurs in the first line, the import of tesserax.
(I pulled this from a larger file and forgot to grab the size variable. Substack isn’t happy with the Note and messes up when I try to edit it. Just assume size = 40 immediately after the filename = … line.)
Cool! Did you figure out the deal with cairosvg or code your way around it?
Good timing. I'm just getting back into a project that's complex enough I need some good process-flow and state diagrams to keep me sane. I'll check it out ASAP.
Neither :). All the gifs you see in the post are generated with the current implementation so cairosvg seems to work out of the box at least in my setup. But that’s Linux, perhaps some dependencies are already installed by default. I definitely have to check Windows at some point, but that takes a bit of effort setting up VMs and stuff.
I just upgraded and tried to run my simple chessboard image and got exactly the same error messages. 😫
Can you paste the code over here? or a link to a gist? I’ll run it locally and double check. Thanks!
No problem:
https://substack.com/@wyrdsmythe/note/c-214052012
The error occurs in the first line, the import of tesserax.
(I pulled this from a larger file and forgot to grab the size variable. Substack isn’t happy with the Note and messes up when I try to edit it. Just assume size = 40 immediately after the filename = … line.)