Tags: kim-company/elixir-pdf-generator
Tags
v0.5.6: - **BUGFIX:** fix A4 and A5 paper sizes in inches for **chrome-headless**: it's not 8.5 x 11.0 (US letter) but 8.26772 x 11.695 (DIN A4), the former being chrome-headless defaults. This is important if you want to create proper A4 pages - Users printing **US letter** sized PDFs, please use `page_size: :letter`
- 0.5.3 - **BUGFIX** introduced in 0.5.0 when certain shells don't accept `[foo=bar, …]` parameters which should correctly be `[foo, bar]` Thanks to [@egze](https://github.com/egze) for submitting a patch. - Refactored `PathAgent` that holds configuration state for readability and more fashionable and extensible error messages. Extensible towards new generators. - Updated README to be more elaborative on how to install `wkhtmltopdf` and `chrome-headless-render-pdf`
Got rid of misc_random dependency. This was here to manage between depreciated random functions in Erlang. We go ahead using plain `Enum.random/1` instead, implementing our own `PdfGenerator.Random.string/1` function. This also removes a common pitfall when drafting a release with distillery. * Thanks to [Hugo Maia Vieira](https://github.com/hugomaiavieira) for this contribution! * Since `Enum.random/1` is only available since September 2015 (three years ago) I am OK with raising the minimum Elixir version to v1.1 – Since this may break projects still running on Elixir v1.0 **I bumped the version to 0.4.0***.
PreviousNext