Skip to content

Commit 56e8ba9

Browse files
committed
Bump fonttools and rebase tests
1 parent e9abc00 commit 56e8ba9

6 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ This can also be enabled programmatically with `warnings.simplefilter('default',
2929
- [`FPDF.image()`](https://pyfpdf.github.io/fpdf2/fpdf/fpdf.html#fpdf.fpdf.FPDF.image): allowing images path starting with `data` to be passed as input
3030
- text overflow is better handled by `FPDF.write()` & `FPDF.write_html()` - _cf._ [issue #847](https://github.com/PyFPDF/fpdf2/issues/847)
3131
- the initial text color is preserved when using `FPDF.write_html()` - _cf._ [issue #846](https://github.com/PyFPDF/fpdf2/issues/846)
32+
### Changed
33+
- [fontTools](https://fonttools.readthedocs.io/en/latest/) minimal version requirement set to 4.41.1; [#863](https://github.com/PyFPDF/fpdf2/pulls/863)
3234
### Deprecated
3335
- the `center` optional parameter of [`FPDF.cell()`](https://pyfpdf.github.io/fpdf2/fpdf/fpdf.html#fpdf.fpdf.FPDF.cell) is **no more** deprecated, as it allows for horizontal positioning, which is different from text alignment control with `align="C"`
3436

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ install_requires =
4343
Pillow>=6.2.2,!=9.2.* # minimum version tested there: https://github.com/PyFPDF/fpdf2/actions/runs/2295868575
4444
# Version 9.2.0 is excluded due to DoS vulnerability with TIFF images: https://github.com/PyFPDF/fpdf2/issues/628
4545
# Version exclusion explained here: https://devpress.csdn.net/python/630462c0c67703293080c302.html
46-
fonttools>=4.34.0
46+
fonttools>=4.41.1
4747
python_requires = >=3.7
4848

4949
[bdist_wheel]

test/encryption/encrypt_fonts.pdf

3 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

test/fonts/fonts_otf.pdf

3 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)