Commit Graph

5409 Commits

Author SHA1 Message Date
Fahad Al-Saidi
b18ead33f1 declare text_layout_raqm only when we HAVE_RAQM 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
22d2a5e49c only catch ImportError same as test_imagefont.py 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
629522af56 update depends/* to install raqm 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
ebdc297f4c break up text_layout into two implementations 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
37e25888bb improve docs for CTL 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
f2ba26860e fix setup.py 2016-12-21 13:54:45 +04:00
Fahad Al-Saidi
af0df0c9da fix windows build 2016-12-21 13:51:04 +04:00
Fahad Al-Saidi
1b7401a8b9 fix windows build 2016-12-21 13:51:04 +04:00
shamsa
3130bce603 fix testing 2016-12-21 13:51:04 +04:00
shamsa
c6d5de60d4 Fix gitsize function. 2016-12-21 13:51:03 +04:00
shamsa
95a2ac1086 Solve merge conflict 2016-12-21 13:51:03 +04:00
shamsa
25b2a6420b Testing complex text layout. 2016-12-21 13:51:03 +04:00
shamsa
228af633b2 Document complex text layout features. 2016-12-21 13:51:03 +04:00
shamsa
8b3ed968c4 fallback code 2016-12-21 13:51:03 +04:00
shamsa
f013dd11f9 Fix build with python 3.2 2016-12-21 13:51:03 +04:00
shamsa
ff5c2ca925 Fix failure in test_imagefont.py 2016-12-21 13:51:03 +04:00
shamsa
592725bd74 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.
2016-12-21 13:51:03 +04:00
Hugo
954fc52877 [CI skip] 2016-12-21 08:53:10 +02:00
Hugo
9c1b9e71a6 Merge pull request #2294 from wiredfool/pypy-buffer-workaround
PyPy buffer interface workaround
2016-12-21 08:49:42 +02:00
Fahad Al-Saidi
c994f86684 switch to ubuntu trusty 14.04 2016-12-20 06:24:52 -08:00
wiredfool
01e31bfd84 Workaround for 'PyPy does not yet implement the new buffer interface' bug 2016-12-19 14:16:06 -08:00
wiredfool
980785952f Makefile entries for debug symbols, clean build, and highlight errors 2016-12-19 14:15:06 -08:00
wiredfool
3f372ef54a Updated Changes.rst [ci skip] 2016-12-13 20:13:00 +00:00
wiredfool
80b78be21a Merge pull request #2199 from jdufresne/dep-olefile
Remove vendored version of olefile Python package in favor of upstream
2016-12-13 20:12:29 +00:00
wiredfool
4b6de04882 Updated Changes.rst [ci skip] 2016-12-13 20:05:38 +00:00
wiredfool
55f7a736a4 Merge pull request #2234 from radarhere/print
Updated comments to use print as a function
2016-12-13 20:00:25 +00:00
wiredfool
5e41721cba Merge pull request #2277 from uploadcare/executable-setup
Set executable flag on setup.py and add shebang
2016-12-13 19:58:10 +00:00
wiredfool
2a7b4577c1 Merge pull request #2282 from radarhere/selftest
Set executable flag on selftest.py and added shebang line
2016-12-13 19:57:25 +00:00
wiredfool
9f711ea59a Merge pull request #2286 from hugovk/change-freetype2.7-epsilon
Increase epsilon for FreeType 2.7
2016-12-13 19:54:00 +00:00
wiredfool
86ff654487 Merge pull request #2279 from uploadcare/fast-assert_image_similar
Fast assert_image_similar
2016-12-13 19:52:50 +00:00
wiredfool
eb339d2ef6 Merge pull request #2276 from uploadcare/remove-stretch
Remove depreciated internal "stretch" method
2016-12-13 19:51:39 +00:00
wiredfool
ba5f9b88da Merge pull request #2223 from wiredfool/handles_eof
Removed the handles_eof flag in the decoder, as there are no users of it
2016-12-13 19:48:55 +00:00
hugovk
acf68c835c Increase epsilon for FreeType 2.7 2016-12-12 15:16:43 +02:00
Andrew Murray
57bab081b9 Set executable flag on selftest.py and added shebang line 2016-12-11 12:30:11 +11:00
Hugo
badbff1b99 [CI skip] 2016-12-09 11:26:22 +02:00
Hugo
e83479edf0 Merge pull request #2263 from wiredfool/tiff_bytesio
Fix for writing Tiff to BytesIO using libtiff
2016-12-09 11:04:41 +02:00
Hugo
7dff4e5a8f Merge pull request #2269 from wiredfool/design-docs
Design docs
2016-12-09 11:01:03 +02:00
Hugo
cb5b2eb597 Merge pull request #2273 from wiredfool/tests-nolibtiff
Move tests requiring libtiff to test_file_libtiff
2016-12-09 10:58:48 +02:00
Alexander
9ee1f58215 fix I;16 mode 2016-12-07 05:16:10 +03:00
Alexander
ba92896a53 remove old version 2016-12-07 04:39:36 +03:00
Alexander
52c8e2050e replace test "1"-mode image 2016-12-07 03:09:13 +03:00
Alexander
8967a20ad7 test new assert_image_similar implementation 2016-12-07 03:07:20 +03:00
wiredfool
aa247dbb60 Moving tests requiring libtiff to test_file_libtiff 2016-12-05 08:25:10 -08:00
Hugo
8784037463 Update [CI skip] 2016-12-04 22:00:51 +02:00
Hugo
837d583b15 Merge pull request #2275 from wiredfool/issue_2272
Update Maxblock heuristic (fixes #2272)
2016-12-04 21:38:22 +02:00
Alexander
9c38253733 set executable flag on setup.py and add shebang 2016-12-04 18:59:53 +03:00
Alexander
194ebd4e0a remove depreciated internal "stretch" method 2016-12-04 18:41:39 +03:00
Hugo
b1017b2903 Update CHANGES.rst [CI skip] 2016-12-04 12:33:08 +02:00
Hugo
03b9d718fc Merge pull request #2274 from wiredfool/issue_2258
Fix for 2 bit palette corruption #2258
2016-12-04 12:27:40 +02:00
wiredfool
d983aead74 Py3 bytes 2016-12-03 14:49:44 +00:00