FONT (File Format): Difference between revisions
Jump to navigation
Jump to search
→Glyphs
imported>Antidote No edit summary |
>Aruki (→Glyphs) |
||
Line 117: | Line 117: | ||
The kerning index value is the index of the first kerning table entry for the given character. Since the table is sorted in alphabetical order, this can be used to speed up lookup time. | The kerning index value is the index of the first kerning table entry for the given character. Since the table is sorted in alphabetical order, this can be used to speed up lookup time. | ||
This section of the file changes somewhat from version 2 to 4. Starting in version 4, | This section of the file changes somewhat from version 2 to 4. Starting in version 4, font textures are able to be split up into multiple layers, which allows multiple glyphs to be encoded in the same space on the texture. A "layer index" value was introduced to track which Layer the glyph is on. Additionally, a lot of 32-bit values were reduced to 8- or 16-bit. Aside from that, though, the actual layout is still the same, with the same values in the same places. | ||
==== Version 2 (Metroid Prime NTSC) ==== | ==== Version 2 (Metroid Prime NTSC) ==== | ||
Line 227: | Line 227: | ||
| u8 | | u8 | ||
| 1 | | 1 | ||
| ''' | | '''Layer index''' | ||
|- | |- | ||
| 0x13 | | 0x13 |