mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-13 09:15:46 +03:00
Do not draw normal text onto stroke text if they are the same color
This commit is contained in:
parent
8d9279dd73
commit
0318304f9a
|
@ -693,7 +693,8 @@ class ImageDraw:
|
|||
draw_text(stroke_ink, stroke_width)
|
||||
|
||||
# Draw normal text
|
||||
draw_text(ink, 0)
|
||||
if ink != stroke_ink:
|
||||
draw_text(ink)
|
||||
else:
|
||||
# Only draw normal text
|
||||
draw_text(ink)
|
||||
|
|
Loading…
Reference in New Issue
Block a user