rewtro icon indicating copy to clipboard operation
rewtro copied to clipboard

Booklet texts not working

Open stl1988 opened this issue 2 years ago • 7 comments

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

stl1988 avatar Aug 10 '22 15:08 stl1988

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.

kesiev avatar Aug 10 '22 15:08 kesiev

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

stl1988 avatar Aug 10 '22 16:08 stl1988

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?

kesiev avatar Aug 10 '22 16:08 kesiev

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

stl1988 avatar Aug 10 '22 19:08 stl1988

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.

kesiev avatar Aug 10 '22 19:08 kesiev

Inkscape shows the text for some reason... image

stl1988 avatar Aug 10 '22 19:08 stl1988

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. 😉

kesiev avatar Aug 11 '22 20:08 kesiev