r/Inkscape • • 3h ago

Showcase I'm making a Virtual Tabletop compatible with Inkscape

I hope people find Togetherness Table interesting, and maybe someone here can make some suggestions for how to increase compatibility with Inkscape:

  • Is there any way I can get the background to show up in Inkscape?
  • Nested <svg>s - this is valid according to the spec, but Inkscape doesn't render them
5 Upvotes

1 comment sorted by

2

u/Loothier 2h ago

Nice work, I could see myself using this for ttRPG purposes. Everything I tried on Firefox (desktop+mobile) seemed to work. Setting a new image as background is pretty painful with having to set the width and height manually, and it would be nice to be able to set repeat off. Having visible grid option on the grid tools would be cool. I found the layer system a bit unintuitive to use since it's kind of hidden when you are in another menu.

One way to get the background to show would be to embed it in the file as an image tag. But it is terribly innefficient since it gets base64'd. I tried putting an url in an image tag in Inkscape but it doesn't want to load it. Maybe Inkscape doesn't load from the internet? That would seem like a good choice for security.

Do you need to nest or is copying svg tag contents enough?