Commit Graph

68 Commits

Author SHA1 Message Date
Hugo
d7e4d3db3f Convert assert into exception 2018-08-25 19:06:11 +03:00
Andrew Murray
c2189235af Line too long 2018-07-02 19:26:02 +10:00
Andrew Murray
58cc23695d Continuation line over-indented for visual indent 2018-07-02 19:21:44 +10:00
Andrew Murray
e7815ccd62 Block comment should start with '# ' 2018-07-02 19:21:44 +10:00
Hugo
abae745da1
Merge pull request #3114 from tianyu139/hotfix
Fixed bug in ImageDraw.multiline_textsize()
2018-07-01 21:34:45 +03:00
Hugo
490464010a
Merge pull request #3113 from tianyu139/develop
Added getsize_multiline support for PIL.ImageFont
2018-07-01 21:33:21 +03:00
Hugo
40a0398657
Add spacing 2018-07-01 20:55:53 +03:00
Hugo
488161ebba
flake8 2018-07-01 20:54:12 +03:00
Hugo
67e5540021 Skip font tests when ImageFont not available 2018-05-31 15:11:50 +03:00
tianyu
58474d1c8d Added test to ensure ImageDraw.multiline_textsize returns same value as ImageFont.getsize for single lines 2018-04-24 22:55:17 +08:00
tianyu
3fda581963 Added test for getsize_multiline 2018-04-24 22:27:29 +08:00
Hugo
ecc4c7fecc Remove unittest regex deprecation warnings 2018-04-14 21:54:40 +03:00
Andrew Murray
4a781d0013 Replaced MacOS with macOS 2018-03-19 19:38:17 +11:00
Andrew Murray
2202196162 Flake8 blank line fixes 2018-03-04 21:36:33 +11:00
Andrew Murray
4afed260dc Updated freetype to 2.9 2018-01-13 06:26:42 +11:00
Eric Soroos
3f4abf6caa Fix/test for #2826, unchecked exception leading to null pointer dereference, segfault 2017-11-02 20:46:17 +00:00
wiredfool
39df75bd07 Merge pull request #2706 from wiredfool/issue_2666
Fix for crash drawing empty strings
2017-09-04 11:26:28 +01:00
Andrew Murray
5c2df30ac3 Removed ImageDraw.Draw del calls 2017-09-01 21:06:22 +10:00
Andrew Murray
9e843a2d9b Changed format of lambda calls 2017-09-01 21:05:40 +10:00
wiredfool
c3fbd9de01 test for issue #2666 2017-08-31 08:56:06 -07:00
Hugo
10c7e20045 Test for #2639 2017-07-23 23:56:02 +03:00
wiredfool
d2b3e60bbb test for issue #2614 2017-07-16 17:23:08 +10:00
Andrew Murray
844b812ebd Removed debugging code 2017-07-15 17:12:33 +10:00
Eric Soroos
20da797fce updates for centos/amazonlinux 2017-07-01 03:46:49 -07:00
wiredfool
8d9f6029e1 remove non-tempfile usage from tests 2017-06-21 14:00:15 -07:00
wiredfool
39327332df test both layout engines, if available 2017-06-21 14:00:15 -07:00
wiredfool
b8c04de043 added layout engine switch 2017-06-21 14:00:15 -07:00
hugovk
acf68c835c Increase epsilon for FreeType 2.7 2016-12-12 15:16:43 +02:00
Tim Graham
0c66b80a95 Fix "invalid escape sequence" warning in Python 3.6
http://bugs.python.org/issue27364
2016-09-27 19:26:57 -04:00
Andrew Murray
b58f76dc4f Renamed references to OS X to macOS 2016-09-23 21:12:03 +10:00
homm
1ba4e9e5ba remove end of file banner from all files 2016-07-10 14:11:28 +03:00
Andrew Murray
a653afb10d Allowed textsize method to pass on multiline_textsize method specific arguments 2016-01-06 17:13:16 +11:00
Andrew Murray
89e3758fb8 Allowed text method to pass on multiline_text method specific arguments 2016-01-06 10:42:03 +11:00
hugovk
1110978fc7 Test another ImageFont getter 2015-12-07 20:44:03 +02:00
hugovk
1ae23a807f Test ImageFont getters 2015-12-07 20:24:57 +02:00
Andrew Murray
5835c1e09c Added deprecation warning to ImageDraw setfont method, as specified in docs 2015-09-19 21:12:10 +10:00
Andrew Murray
3841a11fb5 Removed ImageFont filename param, deprecated in 2.1 2015-09-19 21:06:12 +10:00
hugovk
bfa6b07741 flake8 2015-07-01 22:53:18 +03:00
hugovk
efa0fa1b4f More ImageFont tests 2015-07-01 22:51:38 +03:00
Andrew Murray
b7335ec9d9 Added multiline tests 2015-06-18 17:51:33 +10:00
Andrew Murray
3c7e37d2d7 Replaced old-style classes 2015-05-27 00:07:21 +10:00
Hugo
7e02582931 Merge pull request #1210 from toabctl/issue-1202
Fix test TestImageFont.test_textsize_equal for SLE11SP3
2015-04-29 15:39:50 +03:00
Thomas Bechtold
80a8463225 Fix test TestImageFont.test_textsize_equal
The current test failed on SLE11SP3 so use assert_image_similar() for
the test.
This fixes issue 1202.
2015-04-29 14:21:42 +02:00
Andrew Murray
ee34d6843b Further health fixes 2015-04-24 18:24:52 +10:00
hugovk
2879819ce7 Style/health fixes 2015-04-01 16:47:01 +03:00
Andrew Murray
b75ee4c5b6 Added tests for font paths without extensions and for preferring ttf extensions 2015-04-01 15:26:00 +11:00
Andrew Murray
84ec2af495 Allow truetype() to search for extensions other than .ttf 2015-03-21 21:13:15 +11:00
Andrew Murray
7a798f8724 Added copy method font_variant() and accessible properties to truetype() 2015-03-04 00:00:18 +11:00
wiredfool
96c06de695 Restrict tests to linux/osx 2014-12-31 19:59:50 -08:00
Charles Law
ee7b15c924 Add tests for finding fonts in linux and osx 2014-12-29 10:09:37 -08:00