From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BMFont" |
|---|
| claim | "Block 4 is an array of 20-byte character records (count = block size / 20) and block 5 an array of 10-byte kerning pairs, present only if some amount is nonzero." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "BMFont binary version 3" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BMFontChar" |
|---|
| size | 20 |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "id" |
|---|
| notes | "character code" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "x" |
|---|
|
| offset | "0x6" |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "y" |
|---|
|
| offset | "0x8" |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "width" |
|---|
|
| offset | "0xA" |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "height" |
|---|
|
| offset | "0xC" |
|---|
| size | 2 |
|---|
| type | "int16" |
|---|
| name | "xoffset" |
|---|
|
| offset | "0xE" |
|---|
| size | 2 |
|---|
| type | "int16" |
|---|
| name | "yoffset" |
|---|
|
| offset | "0x10" |
|---|
| size | 2 |
|---|
| type | "int16" |
|---|
| name | "xadvance" |
|---|
|
| offset | "0x12" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "page" |
|---|
|
| offset | "0x13" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "chnl" |
|---|
| notes | "1 blue, 2 green, 4 red, 8 alpha, 15 all" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "AngelCode BMFont file format, blocks 4 and 5 (kerning: first u32, second u32, amount i16)" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Binary chars and kerning blocks" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:42:38.152Z" |
|---|
| verifications | |
|---|