summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:22:00 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:22:00 +0000
commitf9736c0b63d90d3cda7e2c77d1cae20939ae328f (patch)
treeb7bba8a2ab698a56a1d691fd932ca489156e59d3 /apps
parentd6dbfef4520475a5275e0bc84c917dbb06724b54 (diff)
ok, use a smaller font size on shorter display targets (3K instead of 10K)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25963 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_fonts.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_fonts.h b/apps/gui/skin_engine/skin_fonts.h
index 18aa885711..6e3634e740 100644
--- a/apps/gui/skin_engine/skin_fonts.h
+++ b/apps/gui/skin_engine/skin_fonts.h
@@ -32,9 +32,11 @@
#ifndef _SKINFONTS_H_
#define _SKINFONTS_H_
-
-#define SKIN_FONT_SIZE 10000
-
+#if LCD_HEIGHT > 160
+#define SKIN_FONT_SIZE (1024*10)
+#else
+#define SKIN_FONT_SIZE (1024*3)
+#endif
void skin_font_init(void);