Open nickbroon opened 7 years ago
Argh. Yeah, this code was designed as a hack for a tutorial I did, pretty much the night before. I really don't have the cycles to swap this back in at the moment, but pull requests will be enthusiastically accepted here. :)
Note that the SVG drawing code has been moved into its own package visipfix
, which will be uploaded to pypi shortly...
If the basic example of a string is changed to a fixed length of 13 (which exactly matches the string length passed to the data record) it works just fine:
If it's changed to 12 it also works just fine, truncating the string to fit.
If it's changed to 14, or any other larger value, it crashes. I'm guessing that it needs to correctly zero pad the string.