Commit Graph

18703 Commits

Author SHA1 Message Date
Andrew Murray
316f39702c
Merge pull request #7580 from nulano/cibuildwheel-docker
Build Windows wheels using cibuildwheel
2023-12-01 10:41:53 +11:00
Nulano
984700b1f7 fix documentation link to PIL.ImageFont.Layout 2023-11-30 23:58:47 +01:00
Andrew Murray
13c1d752c6
Use enum in type hint
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-12-01 08:42:25 +11:00
Nulano
e1059767d8 replace importlib.util.find_spec with try import except ImportError 2023-11-30 20:11:24 +01:00
Andrew Murray
63bec07b97
Merge pull request #7475 from radarhere/harfbuzz
Updated harfbuzz to 8.3.0
2023-11-30 21:58:40 +11:00
Andrew Murray
f1fef09d4a Support arbitrary masks for uncompressed RGB images 2023-11-30 21:13:59 +11:00
Andrew Murray
f23d029d5f Moved error from truetype() to FreeTypeFont 2023-11-30 07:41:02 +11:00
Andrew Murray
e1291b880d Update CHANGES.rst [ci skip] 2023-11-30 07:38:27 +11:00
Hugo van Kemenade
54c5631fe1
Merge pull request #7584 from akx/truetype-size-validation 2023-11-29 17:16:51 +02:00
Andrew Murray
5fb86c55ed Moved code closing fp and _fp into common method 2023-11-29 20:05:17 +11:00
Aarni Koskela
36e0b5312a
Update Tests/test_imagefont.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-29 09:21:51 +02:00
Zach Nagengast
78f78d2aa7
Update src/_imagingft.c
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-28 11:53:46 -08:00
Nulano
cd9deddcd5 add gcc problem matcher to test.yml 2023-11-28 14:31:46 +01:00
Ondrej Baranovič
6fe42bddd9 Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-28 14:20:57 +01:00
Nulano
d88ab8a668 use verbose flag when building wheels 2023-11-28 14:20:57 +01:00
Nulano
7dc3a8ffa5 do not build Windows wheels on every push 2023-11-28 14:20:57 +01:00
nulano
1fdb0668d8 test cibuildwheel wheels in Docker on Windows 2023-11-28 14:20:57 +01:00
Nulano
3d49244d36 specify build config settings in pyproject.toml 2023-11-28 14:20:57 +01:00
Nulano
bf51d71660 enable heap verification 2023-11-28 14:20:56 +01:00
Nulano
4f939a1c2d use cibuildwheel on windows 2023-11-28 14:20:53 +01:00
Aarni Koskela
39ec56c6ea Improve error message when creating TrueType fonts of invalid size
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2023-11-28 15:09:53 +02:00
Andrew Murray
697c24bc7d
Merge pull request #7581 from hugovk/requirements-cibw
Install cibuildwheel from requirements file
2023-11-28 23:30:08 +11:00
helloworld
b235aa98c6 fix: use parent_name instead of parent_module 2023-11-28 20:21:03 +08:00
Hugo van Kemenade
106f3bcae7 Install cibuildwheel from requirements file
So Renovate can update them all at the same time
2023-11-28 13:12:42 +02:00
Andrew Murray
a1d2297029
Merge pull request #7563 from radarhere/optional-dependencies
List optional dependencies in pyproject (apart from docs and tests)
2023-11-28 21:49:41 +11:00
Andrew Murray
4bc365547a
Corrected type hint
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-28 21:43:58 +11:00
Hugo van Kemenade
af12908dad
Merge pull request #7579 from hugovk/docs-activate-tab
Docs: Activate tabs based on browser's operating system
2023-11-28 12:32:23 +02:00
Andrew Murray
9e8edb42b6 Added type hint 2023-11-28 21:18:58 +11:00
Hugo van Kemenade
6d90f987d1
Merge pull request #107 from radarhere/docs-activate-tab 2023-11-28 11:48:47 +02:00
Andrew Murray
40976799c6 Use html_css_files instead of setup() 2023-11-28 20:04:41 +11:00
Andrew Murray
06687642b5 window.navigator has already been used 2023-11-28 19:48:41 +11:00
Andrew Murray
cf97e8644d Do not test for iOS 2023-11-28 19:48:31 +11:00
Andrew Murray
823c0b0790 Query now searches for exactly matching text 2023-11-28 19:39:38 +11:00
Deliang Yang
6825a76692 fix: Importing plugins from a user-specified installation directory
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix: Wrong path replacement

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

fix: typo
2023-11-28 08:25:16 +08:00
Hugo van Kemenade
ccb0a08a9b
Select "Windows" tab instad of "Windows using MSYS2/MinGW"
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-27 12:54:50 -07:00
Zach Nagengast
9c60e856ad
Apply suggestions from code review
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-11-27 09:20:40 -08:00
Zach Nagengast
38992f6810
Merge pull request #1 from nulano/fix-alpha-for-overlapping-glyphs
Add tests for glyph alpha blending
2023-11-27 08:50:41 -08:00
Nulano
0cef9f251c fix drawing text alpha on RGBA image on big-endian platforms 2023-11-27 17:12:12 +01:00
Nulano
f3b3442c50 add test for glyph alpha blending 2023-11-27 16:25:04 +01:00
Hugo van Kemenade
959b45c945 Activate tabs based on browser's operating system 2023-11-27 16:27:39 +02:00
Andrew Murray
ae7958fa8d Handle pathlib.Path in FreeTypeFont 2023-11-27 23:03:10 +11:00
Hugo van Kemenade
f9c7bd8611
Merge pull request #7572 from radarhere/wheels
Updated wheels README after cibuildwheel integration
2023-11-25 13:04:49 +02:00
Andrew Murray
3e7aec5c0d Updated README after cibuildwheel integration [ci skip] 2023-11-25 21:56:23 +11:00
Andrew Murray
de86f0aeb8 Updated harfbuzz to 8.3.0 2023-11-25 19:42:37 +11:00
Hugo van Kemenade
e2ddd27500
Merge pull request #7552 from radarhere/cibuildwheel
Use cibuildwheel
2023-11-25 10:27:32 +02:00
Andrew Murray
55c5587437 Fill identical pixels with transparency in subsequent frames 2023-11-25 19:16:32 +11:00
Hugo van Kemenade
7070feccb7
Merge pull request #7570 from radarhere/gif_optimize
"optimize" default when saving GIF images
2023-11-25 10:03:00 +02:00
Andrew Murray
f59b51fdc7 Simplified code 2023-11-25 17:36:19 +11:00
Andrew Murray
c855584dac Corrected "optimize" default when saving GIF images 2023-11-25 17:30:09 +11:00
Andrew Murray
5431b15bd2 Do not assign new fp attribute to image when exiting context manager 2023-11-24 15:19:19 +11:00