Andrew Murray
|
ae7958fa8d
|
Handle pathlib.Path in FreeTypeFont
|
2023-11-27 23:03:10 +11:00 |
|
Andrew Murray
|
d682c18ded
|
Use "gray" more consistently
|
2023-10-19 19:12:01 +11:00 |
|
Andrew Murray
|
0da7ad7c48
|
Merge branch 'main' into load_default
|
2023-10-14 10:33:50 +11: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 |
|
Andrew Murray
|
ba9c830b03
|
Corrected writing I;16 text
|
2023-07-08 11:30:48 +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 |
|
Andrew Murray
|
7044038e70
|
Fixed decompression bomb check
|
2023-06-17 14:35:44 +10:00 |
|
Andrew Murray
|
16d82c2dfd
|
Improved coverage
|
2023-06-10 19:37:54 +10:00 |
|
Andrew Murray
|
81a756e93b
|
Support float font sizes
|
2023-04-22 13:45:18 +10:00 |
|
Andrew Murray
|
fa6cd4a195
|
Only check width and height of transposed fonts once
|
2023-04-10 17:34:33 +10:00 |
|
Hugo van Kemenade
|
adbb04d5dc
|
Formatting for readability
|
2023-04-10 16:56:21 +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 |
|
Aarni Koskela
|
5c8a9165ab
|
Fix up pytest.raises lambda: uses
|
2023-02-23 15:19:20 +02:00 |
|
Hugo van Kemenade
|
31f66ea963
|
Merge pull request #6445 from radarhere/set_variation_by_name
|
2022-10-28 13:21:30 +03:00 |
|
Andrew Murray
|
147c52f92f
|
Merge branch 'main' into winbuild-update
|
2022-10-14 12:20:34 +11:00 |
|
Hugo van Kemenade
|
eb59cb61d5
|
Merge pull request #6517 from radarhere/multiline_centered_embedded_color
Round box position to integer when pasting embedded color
|
2022-10-11 16:49:13 +02:00 |
|
Andrew Murray
|
7242a8a9ff
|
Merge branch 'main' into winbuild-update
|
2022-10-11 16:32:22 +11:00 |
|
Andrew Murray
|
c259ac492f
|
Parametrized tests
|
2022-10-03 16:57:42 +11:00 |
|
Andrew Murray
|
17b56b9463
|
Merge branch 'main' into set_variation_by_name
|
2022-09-17 00:01:05 +10:00 |
|
Andrew Murray
|
166654d985
|
Merge branch 'main' into multiline_centered_embedded_color
|
2022-09-16 23:57:27 +10:00 |
|
nulano
|
7485b1a8a0
|
Merge remote-tracking branch 'upstream/main' into winbuild-update
# Conflicts:
# Tests/test_imagefont.py
|
2022-09-13 20:22:25 +02:00 |
|
nulano
|
2f95e49b36
|
add test using woff2 font with freetype
|
2022-09-07 20:25:59 +02:00 |
|
Ondrej Baranovič
|
0ec3d3ec2c
|
Use pytest.param for consistency
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
2022-08-29 20:34:11 +02:00 |
|
Ondrej Baranovič
|
18bd77bbc0
|
simplify code, make test more generic
|
2022-08-25 19:45:33 +10:00 |
|
nulano
|
aa5d67e492
|
convert TestImageFont and TestImageFont_RaqmLayout into a test fixture
|
2022-08-25 03:02:47 +02:00 |
|
Andrew Murray
|
54b01f55f8
|
Round box position to integer when pasting embedded color
|
2022-08-22 12:14:54 +10:00 |
|
Andrew Murray
|
dea30e4c80
|
Fixed set_variation_by_name offset
|
2022-07-18 08:39:23 +10:00 |
|
nulano
|
74e0b954f2
|
test {ImageFont,TransposedFont}.getsize() deprecation
|
2022-07-01 11:22:47 +02:00 |
|
nulano
|
93acbcf9e2
|
add getbbox and getlength to TransposedFont with tests
|
2022-06-20 02:37:42 +01:00 |
|
nulano
|
e2158344a0
|
update test_imagefont to use textbbox
|
2022-06-20 01:20:56 +01:00 |
|
nulano
|
c854bf8d1c
|
add getbbox and getlength to basic ImageFont and update related tests
|
2022-06-19 22:04:56 +01:00 |
|
Andrew Murray
|
a40c7a6bea
|
If font is file-like object, do not re-read from object to get variant
|
2022-04-22 07:31:20 +10:00 |
|
nulano
|
ab86bdda0a
|
fix deprecation test
|
2022-04-17 16:03:53 +02:00 |
|
nulano
|
b4b8249c9d
|
None is also not a valid value
|
2022-04-16 17:46:43 +02:00 |
|
nulano
|
a766b5b0d5
|
deprecate fill in imageFont
|
2022-04-16 17:07:32 +02:00 |
|
Andrew Murray
|
030a6225de
|
Removed duplicate test
|
2022-02-22 11:03:36 +11:00 |
|
Andrew Murray
|
b38a67fa12
|
Merge branch 'main' into enum
|
2022-02-10 09:52:24 +11:00 |
|
nulano
|
a278e0aa65
|
issue warning if Raqm layout is requested, but Raqm is not available
|
2022-02-07 23:57:35 +00:00 |
|
Andrew Murray
|
ed8073e846
|
Deprecated constants in favour of enums
|
2022-01-15 10:07:07 +11:00 |
|
Andrew Murray
|
f8e4e9c2dd
|
Added enums
|
2022-01-15 09:02:31 +11:00 |
|
Hugo van Kemenade
|
31a96b9c9b
|
Upgrade Python syntax with pyupgrade --py36-plus and format with Black
|
2021-10-19 15:34:52 +03:00 |
|
Andrew Murray
|
e6ffeac66f
|
Updated image comparison
|
2021-10-19 16:08:23 +11:00 |
|
Hugo van Kemenade
|
cb5c8f6f86
|
Remove unused left_old variable
|
2021-10-18 11:28:14 +03:00 |
|
Hugo van Kemenade
|
606b5ae1e5
|
Remove support for FreeType 2.7 and older
|
2021-10-18 09:29:53 +03:00 |
|
nulano
|
19f4c6fd23
|
don't use bitmap glyphs when drawing text with stroker
|
2021-10-14 08:19:04 +01:00 |
|
Andrew Murray
|
a39cb04f3e
|
Consider I;16 pixel size when drawing text
|
2021-07-09 21:23:43 +10:00 |
|