summaryrefslogtreecommitdiff
path: root/manual/advanced_topics
diff options
context:
space:
mode:
Diffstat (limited to 'manual/advanced_topics')
-rw-r--r--manual/advanced_topics/main.tex23
-rw-r--r--manual/advanced_topics/viewports/colour-vp-syntax.tex3
-rw-r--r--manual/advanced_topics/viewports/grayscale-vp-syntax.tex3
-rw-r--r--manual/advanced_topics/viewports/mono-vp-syntax.tex3
4 files changed, 26 insertions, 6 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex
index f96eb2d0c1..8580fc54b8 100644
--- a/manual/advanced_topics/main.tex
+++ b/manual/advanced_topics/main.tex
@@ -193,9 +193,9 @@ file find the instructions on the Rockbox website:
193\subsection{\label{ref:CreateYourOwnWPS}Themes -- Create Your Own} 193\subsection{\label{ref:CreateYourOwnWPS}Themes -- Create Your Own}
194The theme files are simple text files, and can be created (or edited) in your 194The theme files are simple text files, and can be created (or edited) in your
195favourite text editor. To make sure non-English characters 195favourite text editor. To make sure non-English characters
196display correctly in your WPS you must save the .wps file with UTF-8 character 196display correctly in your theme you must save the theme files with UTF-8
197encoding. This can be done in most editors, for example Notepad in Windows 2000 197character encoding. This can be done in most editors, for example Notepad in
198or XP (but not in 9x/ME) can do this. 198Windows 2000 or XP (but not in 9x/ME) can do this.
199 199
200\begin{description} 200\begin{description}
201\item [Files Locations: ] Each different ``themeable'' aspect requires its own file -- 201\item [Files Locations: ] Each different ``themeable'' aspect requires its own file --
@@ -303,6 +303,23 @@ file, and to conditionally select different UI viewports.
303 \item {\config{\%VI'label'}} Set the Info Viewport to use the viewport called 303 \item {\config{\%VI'label'}} Set the Info Viewport to use the viewport called
304 label, as declared with the previous tag. 304 label, as declared with the previous tag.
305 \end{itemize} 305 \end{itemize}
306
307\subsection{\label{ref:multifont}Additional Fonts}
308Additional fonts can be loaded within each screen file to be used in that
309screen. In this way not only can you have different fonts between e.g. the menu
310and the WPS, but you can use multiple fonts in each of the individual screens.\\
311
312\config{\%F{\textbar}id{\textbar}filename{\textbar}}
313
314 \begin{itemize}
315 \item `id' is the number you want to use in viewport declerations, 0 and 1
316 are reserved and so can't be used.
317 \item `filename' is the font filename to load. Fonts should be stored in
318 \fname{/.rockbox/fonts/}
319 \end{itemize}
320
321 An example would be: \config{\%F{\textbar}2{\textbar}12-Nimbus.fnt{\textbar}}
322
306} 323}
307 324
308\subsubsection{Conditional Tags} 325\subsubsection{Conditional Tags}
diff --git a/manual/advanced_topics/viewports/colour-vp-syntax.tex b/manual/advanced_topics/viewports/colour-vp-syntax.tex
index bdcc5a11a6..10b879241b 100644
--- a/manual/advanced_topics/viewports/colour-vp-syntax.tex
+++ b/manual/advanced_topics/viewports/colour-vp-syntax.tex
@@ -5,7 +5,8 @@
5 \begin{itemize} 5 \begin{itemize}
6 \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF. 6 \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF.
7 \item `font' is a number: 0 is the built-in system font, 1 is the 7 \item `font' is a number: 0 is the built-in system font, 1 is the
8 user-selected font. 8 current menu font, and 2-9 are additional are skin loaded fonts (see
9 \reference{ref:multifont}).
9 \item Only the coordinates \emph{have} to be specified. Leaving the other 10 \item Only the coordinates \emph{have} to be specified. Leaving the other
10 definitions blank will set them to their default values. 11 definitions blank will set them to their default values.
11 \end{itemize} 12 \end{itemize}
diff --git a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex
index fdcdabb50e..a8460703a9 100644
--- a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex
+++ b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex
@@ -6,7 +6,8 @@
6 \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3 6 \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3
7 (= white). 7 (= white).
8 \item `font' is a number: 0 is the built-in system font, 1 is the 8 \item `font' is a number: 0 is the built-in system font, 1 is the
9 user-selected font. 9 current menu font, and 2-9 are additional are skin loaded fonts (see
10 \reference{ref:multifont}).
10 \item Only the coordinates \emph{have} to be specified. Leaving the other 11 \item Only the coordinates \emph{have} to be specified. Leaving the other
11 definitions blank will set them to their default values. 12 definitions blank will set them to their default values.
12 \end{itemize} 13 \end{itemize}
diff --git a/manual/advanced_topics/viewports/mono-vp-syntax.tex b/manual/advanced_topics/viewports/mono-vp-syntax.tex
index c1ff04622e..8c84607499 100644
--- a/manual/advanced_topics/viewports/mono-vp-syntax.tex
+++ b/manual/advanced_topics/viewports/mono-vp-syntax.tex
@@ -4,7 +4,8 @@
4 4
5 \begin{itemize} 5 \begin{itemize}
6 \item `font' is a number: 0 is the built-in system font, 1 is the 6 \item `font' is a number: 0 is the built-in system font, 1 is the
7 user-selected font. 7 current menu font, and 2-9 are additional are skin loaded fonts (see
8 \reference{ref:multifont}).
8 \item Only the coordinates \emph{have} to be specified. Leaving the other 9 \item Only the coordinates \emph{have} to be specified. Leaving the other
9 definitions blank will set them to their default values. 10 definitions blank will set them to their default values.
10 \end{itemize} 11 \end{itemize}