💾 Archived View for gemini.ctrl-c.club › ~de_alchmst › b-logs › ruby › ptts:090:PDF-fix.gmi captured on 2024-12-17 at 11:33:35. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
There isn't much to talk about. I calculate font size based on the number of characters per line. This works, but when I tried to add margin, it was constantly wrong and moved text around. I decided to not do that and to just add spaces at the beginning instead.
v1.2 is out now.
PS: crystal freaks out when you multiply number by string, you must multiply string by number instead.
----------------------------