From 7022a5c57231789d7b19e48989176e21f98eeabe Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Tue, 16 Sep 2025 22:48:29 -0400 Subject: [PATCH] re-introduce 6 pixel shift, but static instead of dynamic --- src/music_manager.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/music_manager.py b/src/music_manager.py index e5949163..37535857 100644 --- a/src/music_manager.py +++ b/src/music_manager.py @@ -770,10 +770,12 @@ class MusicManager: ALBUM_Y_PERCENT = 0.60 # 60% from top # Use fixed positioning to ensure consistency across all songs - # The BDF 5x7 font has consistent metrics, so we don't need dynamic shifts + # Add a consistent font baseline shift for BDF fonts (not dynamic) + FIXED_BDF_BASELINE_SHIFT = 6 # Fixed shift for proper BDF font positioning + y_pos_title_top = 1 - y_pos_artist_top = int(matrix_height * ARTIST_Y_PERCENT) - y_pos_album_top = int(matrix_height * ALBUM_Y_PERCENT) + y_pos_artist_top = int(matrix_height * ARTIST_Y_PERCENT) + FIXED_BDF_BASELINE_SHIFT + y_pos_album_top = int(matrix_height * ALBUM_Y_PERCENT) + FIXED_BDF_BASELINE_SHIFT TEXT_SCROLL_DIVISOR = 5