summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/SOURCES
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-07-12 12:19:09 -0400
committerFranklin Wei <git@fwei.tk>2017-07-17 16:58:13 -0400
commite7a35ba3833925043b1b3e4a164e06058500bcd8 (patch)
tree1c6c3b920195824cf08d79fda23e7b738d39c730 /apps/plugins/puzzles/SOURCES
parent84e13d5749835234347c8f94f85ea2790980f44d (diff)
downloadrockbox-e7a35ba3833925043b1b3e4a164e06058500bcd8.tar.gz
rockbox-e7a35ba3833925043b1b3e4a164e06058500bcd8.zip
puzzles: dynamic text size via custom font pack
Up to now, we'd just ignore whatever font size the puzzle asked for, and instead just go with either the UI font or system font regardless of their size, which led to some horrible-looking puzzles. This patch adds the ability to automatically load fonts of the proper size when they are available, which makes text-based puzzles such as Pattern and Slant function correctly with any UI font. The font pack, which should be extracted to the system-wide fonts directory consists of 3 small bitmap fonts from 7px to 10px and then anti-aliased Deja Vu fonts from 10px to 36px. It is available in the source tree (apps/plugins/puzzles/fonts.zip), or from <http://download.rockbox.org/useful/sgt-fonts.zip>. Change-Id: I05c8fe7bd6d867e14de9b941deb91e8c642ee4a8
Diffstat (limited to 'apps/plugins/puzzles/SOURCES')
-rw-r--r--apps/plugins/puzzles/SOURCES2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/SOURCES b/apps/plugins/puzzles/SOURCES
index 5745a67c68..1f2894fabc 100644
--- a/apps/plugins/puzzles/SOURCES
+++ b/apps/plugins/puzzles/SOURCES
@@ -2,8 +2,6 @@ rockbox.c
2rbwrappers.c 2rbwrappers.c
3rbmalloc.c 3rbmalloc.c
4 4
5help.c
6
7src/combi.c 5src/combi.c
8src/divvy.c 6src/divvy.c
9src/drawing.c 7src/drawing.c