Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[bugfix] FS#13709 - Mpegplayer conflicts with additional fonts in the theme

FONT_UI is a placeholder when it gets assigned it isn't resolved
immediately

when its time to resolve the font it is processed with font_get(int font)
first it sets it to the last slot
and then decrements till it gets a valid font

I think this is intended to allow the largest
chance of getting a loaded font

instead if global_status->font_id has been set use that
similar to how the screen helper does

Change-Id: If97e504466265fafecbe07b7b72adb4808b67e6a

+6
+6
apps/plugins/mpegplayer/mpegplayer.c
··· 763 763 764 764 static void draw_setfont(int font) 765 765 { 766 + if (font == FONT_UI) 767 + { 768 + int uifont = rb->global_status->font_id[SCREEN_MAIN]; 769 + if (uifont != FONT_SYSFIXED) 770 + font = uifont; 771 + } 766 772 osd.font = font; 767 773 mylcd_setfont(font); 768 774 }