mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-01 22:43:41 +03:00
Update redirected URL (#8919)
This commit is contained in:
commit
8f123cd692
|
@ -71,7 +71,7 @@ size and font_size arguments when using default font
|
||||||
|
|
||||||
Pillow has had a "better than nothing" default font, which can only be drawn at
|
Pillow has had a "better than nothing" default font, which can only be drawn at
|
||||||
one font size. Now, if FreeType support is available, a version of
|
one font size. Now, if FreeType support is available, a version of
|
||||||
`Aileron Regular <https://dotcolon.net/font/aileron>`_ is loaded, which can be
|
`Aileron Regular <https://dotcolon.net/fonts/aileron>`_ is loaded, which can be
|
||||||
drawn at chosen font sizes.
|
drawn at chosen font sizes.
|
||||||
|
|
||||||
The following ``size`` and ``font_size`` arguments can now be used to specify a
|
The following ``size`` and ``font_size`` arguments can now be used to specify a
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ w7IkEbzhVQAAAABJRU5ErkJggg==
|
||||||
|
|
||||||
def load_default(size: float | None = None) -> FreeTypeFont | ImageFont:
|
def load_default(size: float | None = None) -> FreeTypeFont | ImageFont:
|
||||||
"""If FreeType support is available, load a version of Aileron Regular,
|
"""If FreeType support is available, load a version of Aileron Regular,
|
||||||
https://dotcolon.net/font/aileron, with a more limited character set.
|
https://dotcolon.net/fonts/aileron, with a more limited character set.
|
||||||
|
|
||||||
Otherwise, load a "better than nothing" font.
|
Otherwise, load a "better than nothing" font.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user