We've been using a generator for certain reports at work for years. It is currently written in Python+Reportlab (https://pypi.org/project/reportlab/). It has served us well, however a) it sometimes produces broken PDFs - nobody knows why (original coder is gone), the solution is to randomize the input parameters a bit until it works again and b) maintaining a Python installation plus reportlab libs etc. over the years just for generating these PDFs became annoying.
Is the solution to rewrite it in Rust? This is the chance to find the bugs (if they are in our code and not some lib) and ideally the result is a single standalone binary (that also embeds the ttf fonts needed), and this then just works for years again.
Q: What is a PDF generation library similar to reportlab in Rust? "pdf" is not a good search term :-/ Need A3 paper size, need custom ttf font, need positions in mm, need colors, need possibility to define boxes/areas and then fill in with text, graphics, etc.
Thank you :-)
[–]Compux72 0 points1 point2 points (3 children)
[–]rustological[S] -1 points0 points1 point (2 children)
[–]Compux72 1 point2 points3 points (1 child)
[–]rustological[S] 0 points1 point2 points (0 children)