summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-08-25 14:11:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-08-25 14:11:38 +0000
commitfaaf431d321f30881ac39342d4cdc2170b922cb6 (patch)
tree23689929fef19f4d572157e53eeef652057af8e8 /manual
parent05d16b1d4e8947b23afc64a52ccfccbf2284d97b (diff)
downloadrockbox-faaf431d321f30881ac39342d4cdc2170b922cb6.tar.gz
rockbox-faaf431d321f30881ac39342d4cdc2170b922cb6.tar.bz2
rockbox-faaf431d321f30881ac39342d4cdc2170b922cb6.zip
Accept FS#11567 by Fred Bauer - better memory management for the skin fonts
%Fl now takes an optional 3rd param which is the number of glyphs to cache (default to 256). the smaller the number, the less ram will be used (i.e using 15 for a font which only shown numbers is a good idea) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/advanced_topics/main.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex
index ef0d22409e..d7646eafc4 100644
--- a/manual/advanced_topics/main.tex
+++ b/manual/advanced_topics/main.tex
@@ -313,16 +313,18 @@ Additional fonts can be loaded within each screen file to be used in that
screen. In this way not only can you have different fonts between e.g. the menu
and the WPS, but you can use multiple fonts in each of the individual screens.\\
-\config{\%Fl('id',filename)}
+\config{\%Fl('id',filename,glyphs)}
\begin{itemize}
\item `id' is the number you want to use in viewport declarations, 0 and 1
are reserved and so can't be used.
\item `filename' is the font filename to load. Fonts should be stored in
\fname{/.rockbox/fonts/}
+ \item `glyphs' is an optional specification of how many unique glyphs to
+ store in memory.
\end{itemize}
- An example would be: \config{\%Fl(2,12-Nimbus.fnt)}
+ An example would be: \config{\%Fl(2,12-Nimbus.fnt,100)}
}