Hugo van Kemenade
|
0331d9d48b
|
Merge pull request #7560 from radarhere/string_length_check
|
2023-12-21 12:55:37 +02:00 |
|
Hugo van Kemenade
|
b638d056d5
|
Merge pull request #7548 from radarhere/imagefont
|
2023-12-21 12:55:20 +02:00 |
|
Andrew Murray
|
4c7eeec4fc
|
Merge pull request #7600 from nulano/anchor-clarify-docs
Clarify default anchor alignment
|
2023-12-13 07:36:00 +11:00 |
|
Nulano
|
af2d976880
|
clarify default anchor alignment
|
2023-12-12 17:22:19 +01:00 |
|
Andrew Murray
|
d042c4bc37
|
Added typing.IO to type hint
|
2023-12-04 22:26:14 +11:00 |
|
Andrew Murray
|
9a6c47a9d2
|
Merge branch 'main' into font
|
2023-12-04 22:25:58 +11:00 |
|
Nulano
|
984700b1f7
|
fix documentation link to PIL.ImageFont.Layout
|
2023-11-30 23:58:47 +01:00 |
|
Andrew Murray
|
13c1d752c6
|
Use enum in type hint
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
|
2023-12-01 08:42:25 +11:00 |
|
Andrew Murray
|
f23d029d5f
|
Moved error from truetype() to FreeTypeFont
|
2023-11-30 07:41:02 +11:00 |
|
Aarni Koskela
|
39ec56c6ea
|
Improve error message when creating TrueType fonts of invalid size
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2023-11-28 15:09:53 +02:00 |
|
Andrew Murray
|
4bc365547a
|
Corrected type hint
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2023-11-28 21:43:58 +11:00 |
|
Andrew Murray
|
9e8edb42b6
|
Added type hint
|
2023-11-28 21:18:58 +11:00 |
|
Andrew Murray
|
ae7958fa8d
|
Handle pathlib.Path in FreeTypeFont
|
2023-11-27 23:03:10 +11:00 |
|
Andrew Murray
|
524b823c1b
|
Removed unnecessary string length check
|
2023-11-17 17:41:47 +11:00 |
|
Andrew Murray
|
f016d3079b
|
Determine mask mode in Python instead of C
|
2023-11-13 14:31:22 +11:00 |
|
Andrew Murray
|
c2d50881ee
|
Added documentation
|
2023-10-14 11:01:57 +11:00 |
|
Andrew Murray
|
0da7ad7c48
|
Merge branch 'main' into load_default
|
2023-10-14 10:33:50 +11:00 |
|
Hugo van Kemenade
|
4d66f9396b
|
Merge pull request #7247 from radarhere/getmask2_max_image_pixels
|
2023-10-05 09:28:04 -06:00 |
|
Andrew Murray
|
eccef36948
|
Added size argument to load_default()
|
2023-08-26 17:01:01 +10:00 |
|
Andrew Murray
|
1e5aa21fa8
|
Added improved font to load_default() if FreeType is available
|
2023-08-26 17:00:34 +10:00 |
|
Hugo van Kemenade
|
62cd236d1a
|
Clarify that a single value is returned, and depends on the text direction
|
2023-07-25 12:31:58 +03:00 |
|
Andrew Murray
|
74859e965d
|
Moved MAX_IMAGE_PIXELS check to Python
|
2023-07-01 20:52:44 +10:00 |
|
Andrew Murray
|
39a3b1d83e
|
Fixed deallocating mask images
|
2023-07-01 18:09:27 +10:00 |
|
Andrew Murray
|
d398fedb9d
|
Added underscores for readability
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2023-07-01 07:25:18 +10:00 |
|
Andrew Murray
|
1fe1bb49c4
|
Added ImageFont.MAX_STRING_LENGTH
|
2023-06-30 23:32:26 +10:00 |
|
Hugo van Kemenade
|
8f3ccff8f2
|
Merge pull request #7206 from radarhere/text_layout
|
2023-06-13 20:31:24 +03:00 |
|
Andrew Murray
|
1756df4615
|
Removed unused private method
|
2023-06-10 20:24:34 +10:00 |
|
Andrew Murray
|
389ad11693
|
Only call text_layout once in getmask2
|
2023-06-10 17:10:42 +10:00 |
|
Andrew Murray
|
b2301d70d1
|
Removed ImageFont.getsize and related functions
|
2023-04-10 16:56:13 +10:00 |
|
Hugo van Kemenade
|
c9f11565f1
|
Remove FreeTypeFont.getmask2 fill parameter, deprecated in 9.2.0
|
2023-04-06 16:11:36 +03:00 |
|
Hugo van Kemenade
|
c8ec15980b
|
Remove constants deprecated in 9.1.0
|
2023-04-06 16:11:36 +03:00 |
|
Hugo van Kemenade
|
3cfdef395e
|
Merge pull request #7047 from nulano/freetype-import
Do not discard error message if _imagingft fails to import
|
2023-04-01 08:43:45 +03:00 |
|
nulano
|
b18efc775d
|
do not discard ImportError message in ImageFont
|
2023-03-31 01:48:17 +02:00 |
|
Andrew Murray
|
80edcd18d1
|
Do not render text if image has zero width or height
|
2023-03-17 20:11:35 +11:00 |
|
Hugo van Kemenade
|
8ef6503801
|
Merge pull request #6914 from radarhere/default
|
2023-03-12 12:39:45 +02:00 |
|
Andrew Murray
|
742aff3718
|
Replace Python code-blocks with double colons
|
2023-02-24 08:17:10 +11:00 |
|
pre-commit-ci[bot]
|
24183d652e
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2023-02-06 19:27:19 +00:00 |
|
nulano
|
73f55b4e01
|
remove redundant default value
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
|
2023-01-28 15:35:33 +11:00 |
|
Hugo van Kemenade
|
2ae55ccbda
|
Improve exception traceback readability
|
2022-12-30 00:07:52 +02:00 |
|
Andrew Murray
|
70c8e342a5
|
Added "start" argument to docstring
|
2022-11-16 09:15:56 +11:00 |
|
Andrew Murray
|
5471dc2b26
|
Use fractional coordinates when drawing text
|
2022-11-08 11:49:39 +11:00 |
|
Hugo van Kemenade
|
31f66ea963
|
Merge pull request #6445 from radarhere/set_variation_by_name
|
2022-10-28 13:21:30 +03:00 |
|
Hugo van Kemenade
|
91e820fb46
|
Merge pull request #6633 from radarhere/raqm
|
2022-10-10 09:16:10 +02:00 |
|
Andrew Murray
|
397167569a
|
Recommend raqm for non-English text
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
|
2022-10-10 09:11:41 +11:00 |
|
Andrew Murray
|
fea604f693
|
Merge pull request #6556 from radarhere/returns
Improved documentation of ImageDraw return values
|
2022-10-03 19:06:58 +11:00 |
|
Andrew Murray
|
74f47d8c1a
|
Document that basic layout is faster than raqm
|
2022-10-03 10:03:13 +11:00 |
|
Andrew Murray
|
ba78f5d0da
|
Document the default layout engine
|
2022-10-03 09:39:37 +11:00 |
|
Andrew Murray
|
34f61d6d2d
|
Updated redirected URLs
|
2022-09-23 22:13:50 +10:00 |
|
Andrew Murray
|
17b56b9463
|
Merge branch 'main' into set_variation_by_name
|
2022-09-17 00:01:05 +10:00 |
|
Andrew Murray
|
bce9df62f1
|
Rearranged text
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2022-09-06 16:19:47 +10:00 |
|