John Fercher

Results 86 comments of John Fercher

I'm thinking here. Maybe you could try the [parallelism feature](https://maroto.io/#/v2/features/parallelism?id=parallelism). Since with this, are created small PDFs an them they are merged. Since maroto now have a clear division between...

First of all, thank you :D To use the parallel generation you should only define the `WithWorkerPoolSize()` in the [builder](https://maroto.io/#/v2/features/parallelism?id=parallelism). Is possible that it will use less memory, if not,...

We achieved a low memory mode which keeps the memory allocation lower, it keeps 13% less allocations and don´t increase overtime. However, we should focus more in this.

We only have to add an if to check of cols are empty, if is we should add an empty column to it. https://github.com/johnfercher/maroto/blob/4f5e4468fe24ed336c5cda1d5115808faf1cf369/maroto.go#L103-L107

I think that the same should be done here: https://github.com/johnfercher/maroto/blob/4f5e4468fe24ed336c5cda1d5115808faf1cf369/maroto.go#L94-L96

Bro, the library is not to use like this...See the [documentation](https://maroto.io/#/v2/examples/billing?id=billing) there is none example using like this... There are a bunch of examples [here](https://maroto.io/#/v2/features/basics?id=basics)...

Fixed error when using empty columns in this release: https://github.com/johnfercher/maroto/releases/tag/v2.0.0-beta.19

Using Right align doesn't work? https://github.com/johnfercher/maroto/blob/91daec6891a3a42251749b9193d473817971491d/pkg/props/text.go#L24C2-L24C30

I searched on gofpdf, I didn't find a way to customiza the bottom margin of the document. This is why I didn't add this option to the builder.

I hardcoded `MinBottomMargin` as the same value as gofpdf.