Commit Graph

6269 Commits

Author SHA1 Message Date
wiredfool
9bdda3d552 update install script 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
wiredfool
f371ca07f4 hoist tests out of try/except, use feature detection 2017-06-21 14:00:15 -07:00
wiredfool
42831098ac Fix RAQM feature detection 2017-06-21 14:00:15 -07:00
Fahad Al-Saidi
2528743d8c fedora has raqm package 2017-06-21 14:00:15 -07:00
Fahad Al-Saidi
e8584f3f89 fix ubuntu build 2017-06-21 14:00:15 -07:00
Fahad Al-Saidi
eb75a942f2 fix build 2017-06-21 14:00:15 -07:00
Fahad Al-Saidi
e07a254ed9 update 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
fd7a675de6 adding KeyError exception
so the test not fail when there is no raqm lib.
2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
74e4ccc0ec declare text_layout_raqm only when we HAVE_RAQM 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
4ed6962364 only catch ImportError same as test_imagefont.py 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
697db864bd update depends/* to install raqm 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
629f83228a break up text_layout into two implementations 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
6dc4c7ea06 improve docs for CTL 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
538cec323b fix setup.py 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
de8ba933e5 fix windows build 2017-06-21 14:00:14 -07:00
Fahad Al-Saidi
19929791ee fix windows build 2017-06-21 14:00:14 -07:00
shamsa
312c87e279 fix testing 2017-06-21 14:00:14 -07:00
shamsa
a77850564a Fix gitsize function. 2017-06-21 14:00:14 -07:00
shamsa
02d0bcbc6b Solve merge conflict 2017-06-21 14:00:14 -07:00
shamsa
fcd20da3cb Testing complex text layout. 2017-06-21 14:00:14 -07:00
shamsa
fe871bb736 Document complex text layout features. 2017-06-21 14:00:13 -07:00
shamsa
326e23d3e6 fallback code 2017-06-21 14:00:13 -07:00
shamsa
349ac49a4c Fix build with python 3.2 2017-06-21 14:00:13 -07:00
shamsa
3e5007c84d Fix failure in test_imagefont.py 2017-06-21 14:00:13 -07:00
shamsa
0b178edbc8 Add complex text support.
This pull request adds support for languages that require complex text layout.

We are using the Raqm library, that wraps FriBidi (for bidirectional
text support) and HarfBuzz (for text shaping), and does proper BiDi and script
itemization:
https://github.com/HOST-Oman/libraqm

This should fix #1089.
2017-06-21 14:00:13 -07:00
wiredfool
80ac338bf8 Update CHANGES.rst 2017-06-21 21:31:37 +01:00
wiredfool
686663c457 Merge pull request #2587 from wiredfool/travis-debugging
Change the owner of the TRAVIS_BUILD_DIR
2017-06-21 21:30:59 +01:00
wiredfool
7e3883406e Change the owner of the TRAVIS_BUILD_DIR to match the UID in the container. Fixes #2586 2017-06-21 13:26:56 -07:00
wiredfool
915b62236c Merge pull request #2584 from python-pillow/rm-landscape-badge
Remove Landscape/health badge
2017-06-21 15:42:55 +01:00
Hugo
a2f873c661 Remove Landscape/health badge
Because the last run was four months ago -- see https://github.com/python-pillow/Pillow/issues/2532.

[CI skip]
2017-06-21 17:34:00 +03:00
wiredfool
45ed1a8bec appveyor version -> simple build number 2017-06-21 06:27:07 -07:00
wiredfool
edc8d8627c Fix to ensure that define is interpreted as a string on windows 2017-06-21 05:44:24 -07:00
wiredfool
014be86cf4 Update CHANGES.rst [ci skip] 2017-06-21 12:24:27 +01:00
wiredfool
5a671830d8 Merge pull request #2541 from uploadcare/fix-truncated-png-loading
Fix truncated png loading
2017-06-21 12:23:15 +01:00
wiredfool
8eb1dcb7c5 test for truncated png memory leak #2541 2017-06-21 03:31:32 -07:00
wiredfool
865bc45d72 Updated Changes.rst [ci skip] 2017-06-21 11:00:55 +01:00
wiredfool
a4dafe78df Merge pull request #2410 from wiredfool/crop_decompression
Add decompression bomb check to Image.crop
2017-06-21 11:00:03 +01:00
wiredfool
612d78f496 Merge pull request #2582 from radarhere/typo
Fixing small documentation typo
2017-06-21 10:57:26 +01:00
wiredfool
fdc6e149fb Fix bad merge -- undoes minor speedup of copy instead of crop 2017-06-21 02:36:12 -07:00
wiredfool
228c5bb292 using the decompression bomb _crop filter 2017-06-21 02:36:11 -07:00
wiredfool
c70977aad7 added decompression bomb check to crop 2017-06-21 02:36:11 -07:00
Garland Trice
7b77ee5379 Fixing small typo
Working on a small project, reading thru the docs and noticed this.
2017-06-21 19:02:51 +10:00
wiredfool
130c9c52a4 Updated Changes.rst [ci skip] 2017-06-14 09:21:21 +01:00
wiredfool
f0c3df04af Merge pull request #2363 from SpamExperts/unbound_local_var_fix
Ensure that the `err_code` variable is initialized before using.
2017-06-14 09:17:23 +01:00
wiredfool
95eee4315d Updated Changes.rst [ci skip] 2017-06-13 22:49:09 +01:00
wiredfool
d2ce692f67 Use code for unknown error when initializing.
Any case where we hit the cleanup without otherwise setting err_code is some sort of caught error that we're not considering. May not be possible anymore
2017-06-13 22:35:12 +01:00
wiredfool
1f19c023e1 Merge pull request #2406 from blochl/multiframe_tiff
Allow to save tiff stacks from separate images
2017-06-13 22:30:35 +01:00
wiredfool
26050f25bd Merge pull request #2409 from wiredfool/draft
Clarify that draft is only implemented for JPEG and PCD
2017-06-13 22:24:02 +01:00