All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix memory leak when cleaning up a PDF process
- Add
autoprint/1to automatically open the print dialog in a browser
- Fix bug with zero width strings and empty rows (also fixes [#24])
- Fix issue with nil cap height [#35]
- Raise RuntimeError when attempting to add text without a font [#36]
- Fix typespec for
text_wrap/5[#37]
- Add
:oddand:evento:row_styleon table with a lower precedence than indexed styles - Fix bug where only the first non-WinAnsi character was replaced [#32]
- Catch errors raised within the GenServer and re-raise them in the calling process
- Add
:encoding_replacement_characteroption to supply a replacement character when encoding fails - Add
:allow_row_overflowoption toPdf.table/4to allow row contents to be split across pages
- Bug fix: Fix memory leak by stopping internal processes
- Bug fix: Correctly handle encoded text as binary, not UTF-8 encoded string
- Bug fix: External fonts now work like built-in fonts #17
- Bug fix: Reset colours changed by attributed text
- Bug fix: Fix global options for text_at/4 when using a string #11
- Deprecate:
Pdf.delete/1in favour ofPdf.cleanup/1 - Deprecate:
Pdf.open/2in favour ofPdf.build/2