Commit Graph

44 Commits

Author SHA1 Message Date
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
wiredfool
b5c3eb5830 ucase(font_path,font_size) 2014-07-08 10:37:27 -07:00
wiredfool
552effb90d Merge #772 and master 2014-07-08 10:29:53 -07:00
Alex Clark ☺
962f1b46af Merge pull request #784 from tk0miya/master
Fix return value of FreeTypeFont.textsize() does not include font offsets
2014-07-08 05:14:01 -04:00
hugovk
cf04a9a0d2 Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
Takeshi KOMIYA
60628c77b3 Fix return value of FreeTypeFont.textsize() does not include font offsets 2014-07-07 14:42:46 +09:00
hugovk
65593a3827 More tests for ImageFont.py 2014-07-05 00:04:19 +03:00
hugovk
3ec505958e Convert old tests to use unittest 2014-06-10 12:10:47 +03:00
hugovk
c91bd27eec Add tests for rotated and non-rotated transposed font
Check the box size of an ImageFont.TransposedFont matches that of the original ImageFont.
2013-10-17 17:36:38 +03:00
wiredfool
f6e1313337 Made linespacing test more forgiving of font rendering differences 2013-09-30 16:41:11 -07:00
wiredfool
ae6eb8733a actually cleaning 2013-09-24 14:23:43 -07:00
wiredfool
35c9f59c38 testcase for multiline text spacing 2013-09-24 14:23:17 -07:00
Alex Clark
172dae9e35 Fixes #262
Apply patch from @arfrever to resolve Tests/test_imagefont.py tests leave font.png
2013-06-30 18:47:02 -04:00
Alex Clark
bb1b3a532c Cleanup WS, courtesy of @Arfrever
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
wiredfool
2e3cc80aa5 Added font rendering tests 2013-04-25 21:58:04 -07:00
Nicolas Pieuchot
5577801aaa Changing StringIO to BytesIO 2013-04-25 21:45:12 +02:00
Nicolas Pieuchot
6d8ba56c44 Adding Python 3 support for StringIO 2013-04-25 21:25:06 +02:00
Nicolas Pieuchot
450a068ccb Removing buffer from imagefont 2013-04-25 18:48:43 +02:00
Brian Crowell
ad784eb808 py3k: Import Christoph Gohlke's test suite
This is Christoph Gohlke's test suite from his personal PIL package found
at http://www.lfd.uci.edu/~gohlke/pythonlibs/.

This is just to bring it in as a separate commit. Future commits will align
it with Pillow.
2013-01-10 08:46:39 -06:00