FONT (File Format): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Aruki |
>Aruki No edit summary |
||
Line 12: | Line 12: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Offset | ! Offset | ||
! Type | |||
! Size | ! Size | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
| char[4] | |||
| 4 | | 4 | ||
| '''"FONT" magic fourCC''' | | '''"FONT" magic fourCC''' | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| u32 | |||
| 4 | | 4 | ||
| '''Version'''; see below | | '''Version'''; see below | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| u32 | |||
| 4 | | 4 | ||
| ''' | | {{unknown|'''Unknown'''}} | ||
|- | |- | ||
| 0xC | | 0xC | ||
| s32 | |||
| 4 | | 4 | ||
| ''' | | '''Line height''' | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| 4 | | 4 | ||
| ''' | | '''Paragraph upper margin''' | ||
|- | |- | ||
| 0x14 | | 0x14 | ||
| 4 | | 4 | ||
| ''' | | '''Line margin''' | ||
|- | |- | ||
| 0x18 | | 0x18 | ||
Line 127: | Line 132: | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| ''' | | '''Left padding''' | ||
|- | |- | ||
| 0x16 | | 0x16 | ||
Line 137: | Line 142: | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| ''' | | '''Right padding''' | ||
|- | |- | ||
| 0x1E | | 0x1E | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| ''' | | '''Width''' | ||
|- | |- | ||
| 0x22 | | 0x22 | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| ''' | | '''Height''' | ||
|- | |- | ||
| 0x26 | | 0x26 | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| ''' | | '''Base offset''' | ||
|- | |- | ||
| 0x2A | | 0x2A |