diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 13:35:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 13:35:10 +0000 |
commit | 47a16e04903b710ff78115d139d84094b768756c (patch) | |
tree | 2c3fd741752fa5c2cd34011029de0c72a3028a1e /docs | |
parent | 93b231c69366563ba441dc4907bfb036fe3b4c55 (diff) | |
download | rockbox-47a16e04903b710ff78115d139d84094b768756c.tar.gz rockbox-47a16e04903b710ff78115d139d84094b768756c.zip |
obsolete
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2270 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'docs')
-rw-r--r-- | docs/AJF | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/docs/AJF b/docs/AJF deleted file mode 100644 index 9a3c86eb02..0000000000 --- a/docs/AJF +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Description of the binary AJF font file format (version 2) | ||
2 | |||
3 | Index Descripton | ||
4 | |||
5 | 00 MAGIC1 (0xBD) | ||
6 | 01 MAGIC2 (0xFC) used to make sure this is an ajf font | ||
7 | 02 Unused, planned use: "code page" | ||
8 | 03 - 22 ASCII text holding the font name | ||
9 | 23 - 24 "bound width" (high 8 bits, low 8 bits) | ||
10 | 25 - 26 "bound height" (high 8 bits, low 8 bits) | ||
11 | 26 - 28 first character in the font | ||
12 | 29 - 2a number of characters in the font (alwasys 0x00ff now) | ||
13 | 2b - map offset table starts here. Each offset entry is two bytes: | ||
14 | offset highbyte, offset lowbyte | ||
15 | |||
16 | The offset is number of bytes from the start of this file, to where | ||
17 | in the font data this particular char's font data starts. | ||
18 | |||
19 | There is one offset entry for each character in this font, starting | ||
20 | with 'first character' (set above) and ending when all the 'number | ||
21 | of characters' have been stored. | ||
22 | |||
23 | ?? - Font data. First four bytes width, height, dispx and dispy and then | ||
24 | the glyph in Rockbox-internal image-format. That means column-wise | ||
25 | left-to-right for the full width, the first 8 pixels of height. Then | ||
26 | follows the next 8 pixels of height left-to-right. | ||
27 | |||
28 | We don't currently support fonts larger than 16 pixels. (This font | ||
29 | file format would have no problem with bigger sizes, but the internal | ||
30 | bitmap function has.) | ||
31 | |||
32 | References | ||
33 | |||
34 | The BDF file format | ||
35 | http://partners.adobe.com/asn/developer/pdfs/tn/5005.BDF_Spec.pdf \ No newline at end of file | ||