From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:BMFont" |
|---|
| claim | "Block 1 (info) has a 14-byte fixed part then the null-terminated font name; block 2 (common) is 15 bytes." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "BMFont binary version 3" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BMFontInfoBlock" |
|---|
| size_min | 15 |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "int16" |
|---|
| name | "fontSize" |
|---|
|
| offset | "0x2" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "bitField" |
|---|
| bits | |
|---|
|
| offset | "0x3" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "charSet" |
|---|
|
| offset | "0x4" |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "stretchH" |
|---|
|
| offset | "0x6" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "aa" |
|---|
|
| offset | "0x7" |
|---|
| size | 4 |
|---|
| type | "uint8[4]" |
|---|
| name | "padding" |
|---|
| notes | "up, right, down, left" |
|---|
|
| offset | "0xB" |
|---|
| size | 2 |
|---|
| type | "uint8[2]" |
|---|
| name | "spacing" |
|---|
| notes | "horizontal, vertical" |
|---|
|
| offset | "0xD" |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "outline" |
|---|
|
| offset | "0xE" |
|---|
| size | "variable" |
|---|
| type | "char[]" |
|---|
| name | "fontName" |
|---|
| notes | "null terminated" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "AngelCode BMFont file format, blocks 1 and 2 (common: lineHeight u16, base u16, scaleW u16, scaleH u16, pages u16, bitField u8 with bit 7 packed, alpha/red/green/blue channel u8)" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Binary info and common blocks" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T23:42:38.086Z" |
|---|
| verifications | |
|---|