Skip to content

Commit

Permalink
feat :: add soft-hyphen for multi-cell (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksii-shyman authored Feb 4, 2022
1 parent 174775a commit 430ff28
Show file tree
Hide file tree
Showing 9 changed files with 1,301 additions and 208 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ and [PEP 440](https://www.python.org/dev/peps/pep-0440/).
### Added
- documentation on combining `borb` & `fpdf2`: [Creating a borb.pdf.document.Document from a FPDF instance](https://pyfpdf.github.io/fpdf2/ExistingPDFs.html)
- new documentation page on [Emojis, Symbols & Dingbats](https://pyfpdf.github.io/fpdf2/EmojisSymbolsDingbats.html)
- support for soft-hyphen break in `multi_cell` calls

### Changed
- log level of `_substitute_page_number()` has been lowered from `INFO` to `DEBUG`
- `multi_cell` logic of splitting text into multiple lines was reworked and moved into separate module

### Fixed
- a bug in `get_string_width()` with unicode fonts and Markdown enabled,
resulting in calls to `cell()` / `multi_cell()` with `align="R"` to display nothing - thanks @mcerveny for the fix!
- a bug with incorrect width calculation of markdown text

## [2.5.0] - 2022-01-22
### Added
Expand Down
Loading

0 comments on commit 430ff28

Please sign in to comment.