Commit Graph

6030 Commits

Author SHA1 Message Date
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
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
wiredfool
7622885f3c s/warning/note/ 2017-06-13 14:23:18 -07:00
wiredfool
8323ab1149 Merge pull request #2447 from hugovk/test-mic
Test MicImagePlugin for correctness
2017-06-13 22:20:44 +01:00
wiredfool
078d490106 Updated Changes.rst [ci skip] 2017-06-13 22:20:29 +01:00
wiredfool
0f49b8ee7d Updated Changes.rst [ci skip] 2017-06-13 21:09:25 +01:00
hugovk
5d00979dd4 Note that there may be an embedded gamma of 2.2 in MIC files 2017-06-13 23:08:46 +03:00
hugovk
2d02f4ea9b Adjust test for the gamma of 2.2 encoded into the file 2017-06-13 23:07:46 +03:00
wiredfool
d8f15a0706 Merge pull request #2558 from uploadcare/resize-truncate-coeffs-2
Use round instead of floor to exclude of zero coefficients
2017-06-13 21:03:27 +01:00
wiredfool
af790df295 Updated Changes.rst [ci skip] 2017-06-13 13:34:03 +01:00
wiredfool
6016481cbb Merge pull request #2549 from hugovk/rm-deprecated-fn
Remove deprecated code
2017-06-13 13:33:45 +01:00
wiredfool
c3e041e9e6 Merge branch 'master' into rm-deprecated-fn 2017-06-13 13:32:38 +01:00
wiredfool
ae431bc9fb Merge pull request #2526 from radarhere/pdf
Added append_images to PDF saving
2017-06-13 13:25:50 +01:00