mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-09-21 11:28:58 +03:00
flip so the conditional is positive
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
ab86bdda0a
commit
995be34ddb
|
@ -683,10 +683,10 @@ class FreeTypeFont:
|
||||||
:py:mod:`PIL.Image.core` interface module, and the text offset, the
|
:py:mod:`PIL.Image.core` interface module, and the text offset, the
|
||||||
gap between the starting coordinate and the first marking
|
gap between the starting coordinate and the first marking
|
||||||
"""
|
"""
|
||||||
if fill is not _UNSPECIFIED:
|
if fill is _UNSPECIFIED:
|
||||||
deprecate("fill", 10)
|
|
||||||
else:
|
|
||||||
fill = Image.core.fill
|
fill = Image.core.fill
|
||||||
|
else:
|
||||||
|
deprecate("fill", 10)
|
||||||
size, offset = self.font.getsize(
|
size, offset = self.font.getsize(
|
||||||
text, mode, direction, features, language, anchor
|
text, mode, direction, features, language, anchor
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user