Commit Graph

10887 Commits

Author SHA1 Message Date
nulano
3fc1be06e6 add and fix tests for text anchors 2020-09-22 11:31:43 +02:00
Andrew Murray
7e4db0a80e Prefix other header includes 2020-09-22 13:33:05 +10:00
Andrew Murray
b304a13bca Updated test 2020-09-22 13:06:52 +10:00
Andrew Murray
e01081bf8b
Improved error message
Co-authored-by: nulano <nulano@nulano.eu>
2020-09-22 08:36:29 +10:00
Andrew Murray
27c0747518 Allow tuples with one item to give single color value in getink 2020-09-20 14:23:05 +10:00
nulano
e6d4c2ce8f implement text anchor for truetype fonts
(cherry picked from commit bac9025918ccf944bac77addc130f33cf9d74701)
2020-09-19 15:17:45 +02:00
Hugo van Kemenade
c2367400fa
Merge pull request #4915 from nulano/ft-hb
Winbuild: Enable FT_CONFIG_OPTION_USE_HARFBUZZ
2020-09-19 13:41:46 +03:00
Hugo van Kemenade
93d011efb5
Merge pull request #4910 from nulano/anchor-part1 2020-09-19 13:41:15 +03:00
Axel Huebl
f79379ed7c Imaging.h: confusion with system
The file `libImaging/Imaging.h` gets installed flat on
Ubuntus into the public Python includes.

When building a newer version of Pillow from source and
hinting the Python includes "too early" in includes, e.g.
in package managers, this can confuse the two files and
pick up the external file over the internal one. With
different versions, this mismatch can lead to build errors,
e.g. undefined macros.

The most robust way to avoid this is to pre-fix the internal
include accordingly, so that the relative path to the including
file has to match as well.
2020-09-17 18:06:45 +10:00
Hugo van Kemenade
b0fa0fd640
Merge pull request #4924 from radarhere/pip 2020-09-17 11:03:32 +03:00
Andrew Murray
55d83f7afe chown pip wheels cache 2020-09-17 07:53:33 +10:00
Hugo van Kemenade
e50d48f74a
Merge pull request #4921 from radarhere/ghostscript
Updated Ghostscript to 9.53.1
2020-09-15 21:07:17 +03:00
Andrew Murray
af93df874c Updated Ghostscript to 9.53.1 2020-09-15 08:45:00 +10:00
Hugo van Kemenade
238ed30268
Merge pull request #4919 from radarhere/turbo 2020-09-14 14:02:22 +03:00
Andrew Murray
8710c37c2a Updated libjpeg-turbo to 2.0.5 2020-09-14 19:56:15 +10:00
Andrew Murray
d311a3629e Updated CHANGES.rst [ci skip] 2020-09-14 19:04:35 +10:00
Hugo van Kemenade
0ff4cfe439
Merge pull request #4914 from radarhere/profile_path
Fixed loading profile with non-ASCII path on Windows
2020-09-13 08:53:37 +03:00
Andrew Murray
c196af6ddb Fixed loading profile with non-ASCII path on Windows 2020-09-13 13:53:58 +10:00
Andrew Murray
2e029d9a79
Merge pull request #4840 from essarrjay/patch-1
Image.thumbnail docstring: added missing filters
2020-09-12 11:03:56 +10:00
Stanislau T
17d83d6a7c
Fix comment grammar
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-11 19:51:57 +03:00
nulano
d70fa8ca21 enable FT_CONFIG_OPTION_USE_HARFBUZZ for windows builds 2020-09-11 07:07:32 +02:00
nulano
a501ba9308 update link in comment 2020-09-11 01:14:00 +02:00
Hugo van Kemenade
7e06a91ce6
Merge pull request #4912 from MauveRanger/patch-2
Clarify that modes are strings, not constants
2020-09-10 08:01:53 +03:00
MauveRanger
96b3935adc
[ci skip] Clarify that modes are strings, not constants
I misunderstood this section the first time I read it. I hope this change will clarify how to request a mode such as from Image.new("RGBA", size)
2020-09-09 18:28:49 -04:00
Andrew Murray
cd217bd9ff Updated CHANGES.rst [ci skip] 2020-09-09 19:22:30 +10:00
Andrew Murray
6a630fd3c8
Merge pull request #4908 from radarhere/effect_spread
Fixed effect_spread bug for zero distance
2020-09-09 18:59:42 +10:00
Andrew Murray
272f519a40
Merge pull request #10 from hugovk/radarhere-effect_spread
Small optimisation: move distance==0 comparison to outer loop
2020-09-09 18:36:01 +10:00
Hugo van Kemenade
68da661db9 Small optimisation: move distance==0 comparison to outer loop, to check once per call instead of once per pixel 2020-09-09 10:08:46 +03:00
nulano
d1edf86953 tests cleanup 2020-09-09 05:35:55 +02:00
nulano
ee1cc6ad7c remove use of FT_Set_Transform 2020-09-09 02:14:49 +02:00
nulano
5d541e3d9e simplify code, organize variable declarations, add comments 2020-09-09 02:14:46 +02:00
nulano
54e067779b fix and add tests
(cherry picked from commit 0b711f10d0490863976699c051f2027b6799d501) (+1 squashed commits)

Squashed commits:

[9d4e6c17] fix tests
2020-09-09 02:12:21 +02:00
Andrew Murray
c83ffc6aea Fixed effect_spread bug for zero distance 2020-09-08 18:51:58 +10:00
Hugo van Kemenade
9e6dabf0e5
Merge pull request #4905 from python-pillow/docs-python-versions-header
Docs: Give supported Python versions its own header
2020-09-08 10:03:53 +03:00
Hugo van Kemenade
ac2c0df61e
Give supported Python versions its own header 2020-09-07 17:00:02 +03:00
Hugo van Kemenade
df06eedbb5
Merge pull request #4902 from comhar/master
Add `ImageDraw.regular_polygon` to release notes
2020-09-06 10:57:40 +03:00
Tommy C
d49f90444c Add documentation link to release notes
[skip ci]
2020-09-06 07:08:50 +01:00
Hugo van Kemenade
efb0055645
Same length header underline 2020-09-05 22:44:56 +03:00
Tommy C
7a75e09fe1 Add ImageDraw.regular_polygon to release notes
[skip ci]
2020-09-05 20:08:26 +01:00
Andrew Murray
0e69b8e23b Updated CHANGES.rst [ci skip] 2020-09-05 20:52:50 +10:00
Andrew Murray
fac2d2781e
Merge pull request #4837 from nulano/formats
Add formats parameter to open
2020-09-05 20:49:59 +10:00
Hugo van Kemenade
4a143ba857
Merge pull request #4901 from radarhere/lint
Lint fix
2020-09-05 08:05:21 +03:00
Andrew Murray
9c22425881 Lint fix 2020-09-05 13:32:59 +10:00
Andrew Murray
b6ac9d6947 Updated CHANGES.rst [ci skip] 2020-09-05 13:24:45 +10:00
Hugo van Kemenade
8c405fcfae
Merge pull request #4898 from jwon/patch-1 2020-09-05 00:18:26 +03:00
Hugo van Kemenade
3dba4ee10a
Merge pull request #4846 from comhar/features/compute_polygon_coordinates 2020-09-04 23:28:43 +03:00
James Won
f0361a1b7f
Update docs/installation.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-04 13:17:27 -07:00
James Won
adb089de4e
Update docs/installation.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-09-04 13:17:07 -07:00
nulano
5669246da0 add release notes for formats parameter 2020-09-04 21:33:02 +02:00
nulano
a340dc5fd3 Merge remote-tracking branch 'upstream/master' into formats 2020-09-04 21:07:34 +02:00