kesiev / rewtro

Papercraft videogame cartridges you can print and pirate with a copy machine.
MIT License
329 stars 7 forks source link

Booklet texts not working #10

Open stl1988 opened 2 years ago

stl1988 commented 2 years ago

When creating a QR booklet from the example found in https://github.com/kesiev/rewtro/blob/master/manual/datastorage.md, it only prints the page titles, but not the page texts. rewtro-error

kesiev commented 2 years ago

Hi! Do you have the Jost font installed? From the project README:

Q: I've created an SVG cartridge but it looks like I'm missing a font... A: I've used the Jost free font (Jost-500-Medium.otf). Download, install, restart your favorite vector editor and open the SVG again.

stl1988 commented 2 years ago

That makes the font better, but otherwise doesn't solve the problem, sadly... image

kesiev commented 2 years ago

Mmh. I suspect that browsers may not be able to show the SVG flowRoot tags correctly... Are you using some kind of SVG editor to open it, like Inkscape, or a browser? Which program are you using?

stl1988 commented 2 years ago

I'm using Brave Browser, based on Chromium. But even when I open the SVG in Edge, it won't show the text.

kesiev commented 2 years ago

Okay, so that's it. Can you try opening it with something like Inkscape? It should be suggested somewhere in the manual page you mentioned.

stl1988 commented 2 years ago

Inkscape shows the text for some reason... image

kesiev commented 2 years ago

As mentioned before, Rewtro booklets use the flowRoot SVG tag to add text that automatically flows into a rectangle for the booklet page content. Browsers don't support that but just Inkscape and a few other SVG programs (I think?) display that correctly.

So Inkscape should be good enough for you to open it and print or PDF export the booklet easily. 😉