Do not draw normal text onto stroke text if they are the same color

This commit is contained in:
Andrew Murray 2025-01-18 17:27:25 +11:00
parent 8d9279dd73
commit 0318304f9a

View File

@ -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)