Skip to content

Commit

Permalink
v2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-C committed May 2, 2022
1 parent ca5a85f commit 929a11f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ in order to get warned about deprecated features used in your code.

This can also be enabled programmatically with `warnings.simplefilter('default', DeprecationWarning)`.

## [2.5.3] - not released yet
## [2.5.4] - not released yet

## [2.5.3] - 2022-02-05
### Added
- new `round_clip()` & `elliptic_clip()` image clipping methods: [link to docs](https://pyfpdf.github.io/fpdf2/Images.html#image-clipping)
- `CoerciveEnum` subclasses have been added: [`Align`](https://pyfpdf.github.io/fpdf2/fpdf/enums.html#fpdf.enums.Align) & [`RenderStyle`](https://pyfpdf.github.io/fpdf2/fpdf/enums.html#fpdf.enums.RenderStyle)
Expand Down
6 changes: 3 additions & 3 deletions fpdf/fpdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
HERE = Path(__file__).resolve().parent

# Global variables
FPDF_VERSION = "2.5.2"
FPDF_VERSION = "2.5.3"
FPDF_FONT_DIR = HERE / "font"

PAGE_FORMATS = {
Expand Down Expand Up @@ -2332,8 +2332,8 @@ def _render_styled_text_line(
or a string containing some or all of the following characters
(in any order):
`L`: left ; `T`: top ; `R`: right ; `B`: bottom. Default value: 0.
new_x (Enum XPos | str): New current position in x after the call.
new_y (Enum YPos | str): New current position in y after the call.
new_x (Enum XPos): New current position in x after the call.
new_y (Enum YPos): New current position in y after the call.
align (Enum Align): Allows to align the text inside the cell.
fill (bool): Indicates if the cell background must be painted (`True`)
or transparent (`False`). Default value: False.
Expand Down

0 comments on commit 929a11f

Please sign in to comment.