From 547003fde17d781d72537449fe43426989bca855 Mon Sep 17 00:00:00 2001 From: jim kolpack Date: Sat, 10 Oct 2026 16:10:29 -0400 Subject: [PATCH] Use a bigger font for the song title at 2x terminus-16 is exactly double tb-8's height (8px -> 16px), and also pixlet's own documented default font for 2x displays -- a natural choice for making the title genuinely bigger rather than just higher- resolution. Title only, per request; artist/show/host/time stay at their existing fonts. Applied to both the with-art and no-art-fallback layouts for consistency, since it's the same title line either way. Verified at 2x: title reads clearly larger, rest of the column (artist, show/host, time/temp, progress bar) still fits within the available height with room to spare. 1x unaffected (still tb-8). --- subwave_nowplaying.star | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/subwave_nowplaying.star b/subwave_nowplaying.star index 771518b..939d8d3 100644 --- a/subwave_nowplaying.star +++ b/subwave_nowplaying.star @@ -266,8 +266,16 @@ def main(config): render.Marquee(width = text_width, child = time_temp_text) ) + # terminus-16 is exactly double tb-8's height (8px -> 16px) -- also + # pixlet's own documented default font for 2x displays, so it's a + # natural "the title gets to be genuinely bigger, not just more + # pixels" choice for the one line this was asked for, rather than + # applying it everywhere (artist/show/time stay tb-8/tom-thumb, same + # as before). + title_font = "terminus-16" if scale == 2 else "tb-8" + top_lines = [ - render.Marquee(width = text_width, child = render.Text(now["title"], font = "tb-8", color = colors["text"])), + render.Marquee(width = text_width, child = render.Text(now["title"], font = title_font, color = colors["text"])), render.Marquee(width = text_width, child = render.Text(now["artist"], font = "tb-8", color = colors["text"])), render.Box(width = text_width, height = scale, color = colors["separator"]), render.Marquee(width = text_width, child = render.Row(children = show_host_row)), @@ -297,7 +305,7 @@ def main(config): cross_align = "center", expanded = True, children = [ - render.Marquee(width = canvas.width(), child = render.Text(now["title"], font = "tb-8", color = colors["text"])), + render.Marquee(width = canvas.width(), child = render.Text(now["title"], font = title_font, color = colors["text"])), render.Marquee(width = canvas.width(), child = render.Text(now["artist"], font = "tb-8", color = colors["text"])), ], )