1
0
Fork 0
forked from len0rd/rockbox

Make sure pictureflow always uses the user font, both on colour and greyscale targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-12-28 22:26:41 +00:00
parent 9ad94b9c35
commit 36dfdedf3b

View file

@ -1896,6 +1896,8 @@ void draw_album_text(void)
int main(void) int main(void)
{ {
int ret; int ret;
rb->lcd_setfont(FONT_UI);
draw_splashscreen(); draw_splashscreen();
if ( ! rb->dir_exists( CACHE_PREFIX ) ) { if ( ! rb->dir_exists( CACHE_PREFIX ) ) {
@ -1951,6 +1953,7 @@ int main(void)
if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP, if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP,
LCD_WIDTH, LCD_HEIGHT, NULL)) LCD_WIDTH, LCD_HEIGHT, NULL))
rb->splash(HZ, "Greylib init failed!"); rb->splash(HZ, "Greylib init failed!");
grey_setfont(FONT_UI);
#endif #endif
buffer = LCD_BUF; buffer = LCD_BUF;