Commit Graph

13593 Commits

Author SHA1 Message Date
Andrew Murray
c9f1b35e98 Added GIF decompression bomb check 2022-06-30 12:47:35 +10:00
mergify[bot]
8f35234f3a
Merge pull request #6401 from radarhere/harfbuzz
Updated harfbuzz to 4.4.1
2022-06-29 10:55:50 +00:00
Andrew Murray
baa8628e7c
Merge pull request #6399 from hugovk/docs-rm-search-page
Docs: remove redundant search page from table of contents
2022-06-29 19:08:42 +10:00
Andrew Murray
eebbf6b271 Updated harfbuzz to 4.4.1 2022-06-29 18:59:44 +10:00
Hugo van Kemenade
31bed8cfcc Docs: remove redundant search page from table of contents 2022-06-29 09:49:14 +03:00
Hugo van Kemenade
14169c5e2d
Merge pull request #6397 from radarhere/harfbuzz
Updated harfbuzz to 4.4.0
2022-06-28 08:26:25 +03:00
Andrew Murray
3558f4e5d6 Updated harfbuzz to 4.4.0 2022-06-28 09:50:03 +10:00
Andrew Murray
60f0b7eebc Update CHANGES.rst [ci skip] 2022-06-27 15:50:31 +10:00
Hugo van Kemenade
714ff4e397
Merge pull request #6386 from dawidcrivelli/handle_pcf_missing_characters
Handle PCF fonts files with less than 256 characters
2022-06-27 07:59:50 +03:00
Andrew Murray
93805d5257 Limit expected number of characters to nencoding 2022-06-27 14:05:13 +10:00
Andrew Murray
bc6a02422e Update CHANGES.rst [ci skip] 2022-06-27 09:13:21 +10:00
Andrew Murray
fc497ffe5e
Merge pull request #6378 from raygard/fix_get_optimize
Improved GIF optimize condition
2022-06-27 09:12:20 +10:00
Ray Gardner
7c839d8d81
Merge pull request #3 from radarhere/fix_get_optimize
Optimise palettes with more than 128 colors
2022-06-26 13:55:49 -06:00
Andrew Murray
847ad8c512 Clarify check that palette is not already at its smallest 2022-06-26 20:58:36 +10:00
Andrew Murray
ce486e77b1 Merge remote-tracking branch 'radarhere/handle_pcf_missing_characters' into handle_pcf_missing_characters 2022-06-25 21:30:57 +10:00
Andrew Murray
ef93892af8 Update CHANGES.rst [ci skip] 2022-06-25 17:08:56 +10:00
Hugo van Kemenade
b1e9a3c171
Merge pull request #6394 from radarhere/numpy
Reverted to __array_interface__ with the release of NumPy 1.23
2022-06-25 09:44:00 +03:00
Andrew Murray
e5046b1057 Reverted to __array_interface__ with the release of NumPy 1.23 2022-06-24 23:08:36 +10:00
Andrew Murray
2970a5b8b2 Update CHANGES.rst [ci skip] 2022-06-23 16:59:28 +10:00
Hugo van Kemenade
e774be01fe
Merge pull request #6391 from radarhere/pcx
Pad PCX palette to 768 bytes when saving
2022-06-23 09:50:22 +03:00
Andrew Murray
e6b7730c62 Update CHANGES.rst [ci skip] 2022-06-22 19:49:02 +10:00
Hugo van Kemenade
6dd5b2e8c9
Merge pull request #6377 from btrekkie/fix-round-to-palette
Fixed bug with rounding pixels to palette
2022-06-22 12:31:25 +03:00
Andrew Murray
317286d260 Pad palette to 768 bytes 2022-06-22 17:27:49 +10:00
Andrew Murray
db741bf25f Skip remaining characters after IndexError 2022-06-22 16:55:33 +10:00
Andrew Murray
b00b509dd8 Update CHANGES.rst [ci skip] 2022-06-22 07:54:44 +10:00
Hugo van Kemenade
557e293ece
Merge pull request #6361 from radarhere/wayland
Use gnome-screenshot on Linux if available
2022-06-21 18:02:31 +03:00
Hugo van Kemenade
e9715b2c23
Merge pull request #6384 from radarhere/bmp_rle8
Fixed loading L mode BMP RLE8 images
2022-06-21 18:01:14 +03:00
Dawid Crivelli
f160e698a1 Handle PCF fonts files with missing characters 2022-06-20 16:20:08 +02:00
Andrew Murray
3e8a9b2165 Fixed loading L mode RLE8 images 2022-06-20 21:01:10 +10:00
nulano
a7baa31de8
use getbbox instead of getsize in fuzzers.py 2022-06-20 04:35:42 +01:00
btrekkie
b7dc3109cb
Merge pull request #1 from radarhere/fix-round-to-palette-tests
Added test
2022-06-19 22:10:30 -04:00
nulano
93acbcf9e2
add getbbox and getlength to TransposedFont with tests 2022-06-20 02:37:42 +01:00
btrekkie
f10072603d
Merge pull request #2 from radarhere/fix-round-to-palette
Removed #6377 from release notes
2022-06-19 20:53:17 -04:00
nulano
e2158344a0
update test_imagefont to use textbbox 2022-06-20 01:20:56 +01:00
Andrew Murray
a2eff2aff5 Added test 2022-06-20 09:18:05 +10:00
Andrew Murray
5fc3b6e5bb Update CHANGES.rst [ci skip] 2022-06-20 08:29:37 +10:00
nulano
1bf87556ef
add textbbox and textlength to ImageDraw2 and update tests 2022-06-19 22:04:57 +01:00
nulano
f34a6460ef
update test_font_pcf to use getbbox 2022-06-19 22:04:56 +01:00
nulano
c854bf8d1c
add getbbox and getlength to basic ImageFont and update related tests 2022-06-19 22:04:56 +01:00
nulano
406fe59242
deprecate font.getsize and related functions 2022-06-19 22:03:34 +01:00
mergify[bot]
8de74b9fab
Merge pull request #6370 from LostBenjamin/patch-1
Fix wrong operator bug in PyCMSError exception message
2022-06-19 13:21:43 +00:00
Hugo van Kemenade
1229110fb2
Update comment
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-06-19 15:22:02 +03:00
Hugo van Kemenade
607f508080
Update comment
We get "an integer is required (got type NoneType)" with Python 3.7-3.9 on Windows.

We get "'NoneType' object cannot be interpreted as an integer" with Python 3.10 on Windows and all versions on macOS and Ubuntu.
2022-06-19 12:29:39 +03:00
Andrew Murray
709744432a Optimise palettes with more than 128 colors 2022-06-19 16:47:50 +10:00
Andrew Murray
5f6bc0e1a6 Removed #6377 from release notes 2022-06-19 14:07:50 +10:00
pre-commit-ci[bot]
f656711c80 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-06-19 00:20:28 +00:00
Ray Gardner
128ed189e5 Improve test in _get_optimize()
Palette can be optimized if number of colors can be reduced by half or more.
2022-06-18 18:07:58 -06:00
William Jacobs
9f9e26522e Fixed bug with rounding pixels to palette
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
nulano
c2047b8293
fix null check for fribidi_version_info in fribidi shim 2022-06-17 17:13:11 +01:00
Andrew Murray
765d66c069 Update CHANGES.rst [ci skip] 2022-06-16 19:24:36 +10:00