From 5244fbb89bd7721922488c5764753607797b6493 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 May 2026 18:10:25 +0000 Subject: [PATCH] Fix missed raw draw.text in render_phase_closeup The previous commit replaced the caption block in composite_full_moon but missed render_phase_closeup because that block had no comment to match the replace_all pattern. Both caption sites now go through _draw_caption() so the Unicode / font fix applies everywhere. https://claude.ai/code/session_01HkTxpNSTWtViZzxbrbKytR --- moon_composite.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moon_composite.py b/moon_composite.py index 37aed50..38dd228 100755 --- a/moon_composite.py +++ b/moon_composite.py @@ -355,8 +355,7 @@ def render_phase_closeup( if caption: draw = ImageDraw.Draw(bg) - draw.text((24, output_size[1] - 44), caption, fill=(0, 0, 0)) - draw.text((22, output_size[1] - 46), caption, fill=(220, 220, 220)) + _draw_caption(draw, caption, (22, output_size[1] - 48), output_size[0]) Path(out_path).parent.mkdir(parents=True, exist_ok=True) bg.save(out_path, quality=92)