summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-09 12:26:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-09 12:26:24 +0000
commit52ef78b1b0a028f042e0c29f832945e3dda38d5c (patch)
tree6e5d081c420637c2d6e51ed5f296b63bf55756bd
parent1d412e261124f37fa69fcc1c20da2f466217abb7 (diff)
downloadrockbox-52ef78b1b0a028f042e0c29f832945e3dda38d5c.tar.gz
rockbox-52ef78b1b0a028f042e0c29f832945e3dda38d5c.zip
The undocumented .ajf format is now slightly less undocumented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2233 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--docs/AJF22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/AJF b/docs/AJF
new file mode 100644
index 0000000000..6558dfcf45
--- /dev/null
+++ b/docs/AJF
@@ -0,0 +1,22 @@
1Description of the binary AJF font file format
2
3Index Descripton
4
500 MAGIC1 (0xBD)
601 MAGIC2 (0xFC) used to make sure this is an ajf font
702 Unused, planned use: "code page"
803 - 22 ASCII text holding the font name
923 - 24 "bound width" (high 8 bits, low 8 bits)
1025 - 26 "bound height" (high 8 bits, low 8 bits)
1126 - 28 first character in the font
1229 - 2a 0x00ff (supposed number of characters in the font?)
132b - map offset table starts here. Each offset entry is supposed to be
14 three bytes: width, offset highbyte, offset lowbyte
15 The offset is a relative offset, counted in bytes, to where in the
16 font data this particular char's bitmap image starts.
17
18 font data, in Rockbox-internal image-format. That means column-wise
19 left-to-right for the full width, the first 8 pixels of height. Then
20 follows the next 8 pixels of height left-to-right.
21
22 We don't currently support fonts larger than 16 pixels.