mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
27 lines
343 B
Text
27 lines
343 B
Text
rockbox.c
|
|
rbwrappers.c
|
|
rbmalloc.c
|
|
|
|
src/combi.c
|
|
src/divvy.c
|
|
src/drawing.c
|
|
src/dsf.c
|
|
src/findloop.c
|
|
src/grid.c
|
|
src/latin.c
|
|
src/laydomino.c
|
|
src/loopgen.c
|
|
/*src/malloc.c*/ /* we have our own */
|
|
src/maxflow.c
|
|
src/midend.c
|
|
src/misc.c
|
|
src/penrose.c
|
|
src/printing.c
|
|
src/random.c
|
|
src/tdq.c
|
|
src/tree234.c
|
|
src/version.c
|
|
|
|
#ifdef COMBINED
|
|
src/list.c
|
|
#endif
|