Commit Graph

10714 Commits

Author SHA1 Message Date
Hugo van Kemenade
9a93f6ee45
Merge pull request #4959 from nulano/anchor-part3 2020-10-12 19:27:08 +03:00
Hugo van Kemenade
c7b0fe1bca
Merge pull request #4963 from nulano/implicit-function 2020-10-12 19:23:40 +03:00
nulano
c277ff4304 remove old PyPy compatibility code 2020-10-12 16:14:51 +01:00
nulano
b49ebad5f5 Merge remote-tracking branch 'upstream/master' into anchor-part3 2020-10-12 16:14:00 +01:00
nulano
cb3f6c09e7 add spaces between pytest.mark.parametrize parameters 2020-10-12 16:08:16 +01:00
nulano
d7a08cbd15 add color support to new text measuring functions 2020-10-12 16:05:19 +01:00
Hugo van Kemenade
c1a9f889f3
Merge pull request #4964 from nulano/pypy 2020-10-12 17:59:55 +03:00
nulano
90e8255ba4 Merge remote-tracking branch 'upstream/master' into anchor-part3
# Conflicts:
#	Tests/test_imagefontctl.py
2020-10-12 15:50:45 +01:00
Hugo van Kemenade
309cb9e5c4
Merge pull request #4927 from radarhere/tuple 2020-10-12 14:40:22 +03:00
Hugo van Kemenade
43c3f4de80
Merge pull request #4955 from nulano/ft-color3 2020-10-12 13:52:01 +03:00
Hugo van Kemenade
fee6bafead
Merge pull request #4966 from radarhere/decompression 2020-10-12 12:13:07 +03:00
Andrew Murray
cf31156326 Added release notes for #4966 [ci skip] 2020-10-12 19:58:39 +11:00
Andrew Murray
518b783c64 Removed OSError in favour of DecompressionBombError 2020-10-12 19:32:48 +11:00
nulano
845bfda3ff fix docs formatting 2020-10-12 05:08:58 +01:00
nulano
40c9a5a2a0 compatibility for LCMS<2.7, vix LCMS version string 2020-10-12 02:58:24 +01:00
nulano
934c44b3c3 -Werror=implicit-function-declaration 2020-10-12 02:41:58 +01:00
nulano
c06bb8044d remove PyPy3-7.1.x compatibility code 2020-10-12 02:08:50 +01:00
nulano
3a4964412f update setuptools on PyPy3 on Travis 2020-10-12 02:08:47 +01:00
nulano
39ae5d62f0 compatibility code for ancient FreeType 2020-10-12 01:45:52 +01:00
nulano
a079014991 use pypy3.6-7.3.1 on Travis 2020-10-12 01:17:44 +01:00
nulano
df2ea75683 remove redundant test file 2020-10-11 22:39:07 +01:00
nulano
b5fe0e7986 add helper.skip_unless_feature_version 2020-10-11 22:26:11 +01:00
nulano
d84185579e move bitmap font tests to test_imagefont 2020-10-11 21:45:10 +01:00
nulano
b85fabca70
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 22:25:16 +02:00
nulano
be4d5221ad remove extra information 2020-10-11 21:21:38 +01:00
nulano
067a254366
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 21:55:32 +02:00
Hugo van Kemenade
15c339470d
Merge pull request #4523 from xtsm/ellipse
Implemented another ellipse drawing algorithm
2020-10-11 18:04:34 +03:00
Hugo van Kemenade
804c76ff12
Merge pull request #4961 from radarhere/ci
Updated CI targets
2020-10-10 13:03:18 +03:00
Andrew Murray
dab51b6508 Updated CI targets [ci skip] 2020-10-10 19:39:57 +11:00
nulano
9b5931f212
typo
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-10-09 16:43:10 +02:00
nulano
c80f123923 document ImageDraw.textlength and ImageDraw.textbbox 2020-10-09 01:43:23 +01:00
nulano
1551e120ae add textlength and textbbox to ImageDraw 2020-10-09 01:02:51 +01:00
nulano
395aa946a9 add getbbox and getlength, with tests
Squashed commits:

[ec9ec31b] add tests for invalid anchor
(cherry picked from commit 9e50a6a47f79876ee56942152047f03fff03c49b)

[386a9170] fix lint and docs
(cherry picked from commit 2d0d5282fcfc3ee332a41e60b865ee766445cc3d)

[29f5d4c9] restore and document previous getsize behaviour
see discussion in issue 4789
(cherry picked from commit 9fbc94571ce0ed42fdd11e99f343a1613c9dc6d3)

[0ffd51a0] add getbbox and getlength, with tests
(cherry picked from commit c5f63737476a998c81e589e5819d21ca69bb7b46)
2020-10-09 00:56:58 +01:00
Hugo van Kemenade
83f499a588
Merge pull request #4957 from radarhere/unused 2020-10-08 17:46:33 +03:00
Andrew Murray
ddbd529573 Corrected comment 2020-10-09 01:16:23 +11:00
Andrew Murray
88f9ef2f6b Removed unused function 2020-10-09 01:16:23 +11:00
Hugo van Kemenade
027ba3ec3b
Merge pull request #4958 from radarhere/setuptools
Update setuptools for more Python 3.8 jobs
2020-10-08 17:04:30 +03:00
Andrew Murray
ccd8f62136 Python 3.8 also requires updated setuptools 2020-10-09 00:41:08 +11:00
nulano
786eaf11e2 downgrade NotoColorEmoji to minimize size 2020-10-07 13:31:05 +01:00
nulano
568a1260fc fix color on big-endian 2020-10-07 13:03:05 +01:00
nulano
24f3d85a3e add test for {1bpp, 2bpp, 4bpp, 8bpp} bitmap fonts 2020-10-07 11:57:15 +01:00
Andrew Murray
41d935a5a2
Merge pull request #4951 from hugovk/gha-3.9
3.9: Test GitHub Actions
2020-10-07 19:04:05 +11:00
nulano
28d313305a fix tests 2020-10-07 05:29:18 +01:00
nulano
bf529303de use FT_Bitmap_Convert instead of reimplementing the wheel 2020-10-07 05:29:18 +01:00
nulano
55db572467 add tests for opaque COLR and CBDT fonts 2020-10-07 05:29:18 +01:00
nulano
9151da162c add support for CBDT and embedded bitmaps in truetype fonts 2020-10-07 05:29:17 +01:00
nulano
82a28d12e2 add support for fonts with COLR data 2020-10-07 05:29:10 +01:00
Andrew Murray
877831be13
Merge pull request #4952 from hugovk/3.9-stuff
3.9: Add Trove classifier, update setup.py version check, add to tox.ini
2020-10-07 08:40:53 +11:00
Hugo van Kemenade
bb1c6afa87
Merge pull request #4950 from nulano/nulano-patch-1 2020-10-06 19:34:51 +03:00
Hugo van Kemenade
6f7231eb5a Add Trove classifier, update setup.py version check, add to tox.ini 2020-10-06 19:16:49 +03:00