File tree Expand file tree Collapse file tree 2 files changed +65
-0
lines changed
Expand file tree Collapse file tree 2 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ 12.2.0
2+ ------
3+
4+ Security
5+ ========
6+
7+ TODO
8+ ^^^^
9+
10+ TODO
11+
12+ :cve: `YYYY-XXXXX `: TODO
13+ ^^^^^^^^^^^^^^^^^^^^^^^
14+
15+ TODO
16+
17+ Backwards incompatible changes
18+ ==============================
19+
20+ TODO
21+ ^^^^
22+
23+ TODO
24+
25+ Deprecations
26+ ============
27+
28+ TODO
29+ ^^^^
30+
31+ TODO
32+
33+ API changes
34+ ===========
35+
36+ TODO
37+ ^^^^
38+
39+ TODO
40+
41+ API additions
42+ =============
43+
44+ FreeTypeFont.has_characters
45+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
46+
47+ ``ImageFont.FreeTypeFont `` has a new method for checking whether characters are present
48+ in the font or not. :py:meth: `.ImageFont.FreeTypeFont.has_characters ` will return
49+ ``True `` if all of the characters in the given string are available::
50+
51+ from PIL import ImageFont
52+ font = ImageFont.truetype("Tests/fonts/FreeMono.ttf")
53+ font.has_characters("Test") # True
54+ font.has_characters(b"Test") # True
55+ font.has_characters("\u2022") # True
56+ font.has_characters("\u0000") # False
57+
58+ Other changes
59+ =============
60+
61+ TODO
62+ ^^^^
63+
64+ TODO
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ expected to be backported to earlier versions.
1515 :maxdepth: 2
1616
1717 versioning
18+ 12.2.0
1819 12.1.0
1920 12.0.0
2021 11.3.0
You can’t perform that action at this time.
0 commit comments