Bergamo, Italy
Comment by ~carlomilanesi on ~ireas/genpdf-rs
On 10/12/22 14:11, ~ireas wrote:
Adding page numbers is already possible as demonstrated in the
demo
example (PDF). Adding the total page number would be nice but pretty hard to implement with the current rendering process.I can print a header, but I cannot find how to print a footer.
-- Carlo Milanesi
Comment by ~carlomilanesi on ~ireas/genpdf-rs
On 10/12/22 14:08, ~ireas wrote:
This would be a very nice feature. According to its readme,
printpdf
(that is used internally bygenpdf
) does not support SVG yet, but there is aSvg
struct that looks like it could work.#I am writing a book for Manning. It will describe Genpdf, but it will not not describe Printpdf. I don't have time to discover how to insert a non-documented Printpdf object inside a Genpdf document. So, I am going to write that Genpdf cannot create documents containing charts.
Carlo Milanesi
Ticket created by ~carlomilanesi on ~ireas/genpdf-rs
It should be possible to add page numbers, and possibly also the total number of pages, like "3/7". This should be needed in a header or in a footer, possibly excluding the first page.
Ticket created by ~carlomilanesi on ~ireas/genpdf-rs
Many reports must contain charts for business purposes. Instead of adding charting capabilities, it would be nice to accepts charts generated by other creates, like the Charts, which generates charts in SVG format. Therefore Genpdf should allow to embed SVG images. Support for SVG or other vector graphics formats is useful also to have optimal rendering with small memory use.