Commit Graph

7245 Commits

Author SHA1 Message Date
Fran Barba
a7d75c4b21 Applied Hugovk recommendations 2017-06-28 12:12:44 +02:00
Fran Barba
ebaa509d66 Adjust buffer size when icc_profile > MAXBLOCK (issue #148)
We were encountering some errors when saving specific JPEG images.
The error was shown in stderr as:
  IOError: encoder error -2 when writing image file

And on stdout it printed:
    Suspension not allowed here

The problem was the bufsize not contemplating the icc_profile block.
2017-06-28 12:11:33 +02:00
wiredfool
c7efd0bf6d re-organized the parameters, moved size specification to overlay tuple 2017-06-27 22:03:44 +01:00
wiredfool
1d33dfbced Added source point parameter for Image.Image.alpha_composite 2017-06-27 22:03:44 +01:00
wiredfool
69768c514b Added inplace alpha composite 2017-06-27 22:03:44 +01:00
wiredfool
633d751bdc Update Changes.rst [ci skip] 2017-06-27 22:00:56 +01:00
wiredfool
3dc3c8cef9 Merge pull request #2598 from wiredfool/test_relaxation
Fix PNG leak tests
2017-06-27 22:00:20 +01:00
wiredfool
e3f1e9293d fixing the png leak test memory calculations 2017-06-27 21:20:46 +01:00
Hugo
085f0aa23f Merge pull request #2592 from radarhere/health
Removed reference to Landscape badge
2017-06-25 09:09:13 +03:00
Andrew Murray
3bfa35b377 Removed reference to Landscape badge [ci skip] 2017-06-25 13:16:42 +10:00
Hugo
dcf8014d2b Merge pull request #2589 from radarhere/typo
Fixed typo
2017-06-24 08:22:00 +03:00
Andrew Murray
91215c384d Fixed typo [ci skip] 2017-06-24 15:04:37 +10:00
wiredfool
d417ba5ca7 remove ppa 2017-06-22 08:01:03 -07:00
Eric Soroos
f737f00637 Freebsd's bash is elsewhere, wget necessary, setuptools not found 2017-06-22 13:30:26 +00:00
Andrew Murray
bcd1fb7908 Added dBATCH parameter to ghostscript command 2017-06-22 20:31:14 +10:00
wiredfool
db2359a30f y offset on trusty/x86 is 1.63 2017-06-21 14:00:15 -07:00
wiredfool
8d9f6029e1 remove non-tempfile usage from tests 2017-06-21 14:00:15 -07:00
wiredfool
183e0ec21d Added Noto font license [ci skip] 2017-06-21 14:00:15 -07:00
Eric Soroos
53e247cfc4 test tweak for ubuntu 16.04 2017-06-21 14:00:15 -07:00
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