From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:WOFF (Web Open Font Format 1.0)" |
|---|
| claim | "WOFF 1.0 header (44 bytes, big endian): signature 'wOFF', flavor, length, numTables u16, reserved u16, totalSfntSize, majorVersion u16, minorVersion u16, metaOffset, metaLength, metaOrigLength, privOffset, privLength; directory entries are 20 bytes: tag, offset, compLength, origLength, origChecksum." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:WOFF (Web Open Font Format 1.0)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "WOFFHeader" |
|---|
| size | 44 |
|---|
| fields | | offset | 0 |
|---|
| name | "signature" |
|---|
| type | "char[4]" |
|---|
|
| offset | 4 |
|---|
| name | "flavor" |
|---|
| type | "uint32" |
|---|
|
| offset | 8 |
|---|
| name | "length" |
|---|
| type | "uint32" |
|---|
|
| offset | 12 |
|---|
| name | "numTables" |
|---|
| type | "uint16" |
|---|
|
| offset | 14 |
|---|
| name | "reserved" |
|---|
| type | "uint16" |
|---|
|
| offset | 16 |
|---|
| name | "totalSfntSize" |
|---|
| type | "uint32" |
|---|
|
| offset | 20 |
|---|
| name | "majorVersion" |
|---|
| type | "uint16" |
|---|
|
| offset | 22 |
|---|
| name | "minorVersion" |
|---|
| type | "uint16" |
|---|
|
| offset | 24 |
|---|
| name | "metaOffset" |
|---|
| type | "uint32" |
|---|
|
| offset | 28 |
|---|
| name | "metaLength" |
|---|
| type | "uint32" |
|---|
|
| offset | 32 |
|---|
| name | "metaOrigLength" |
|---|
| type | "uint32" |
|---|
|
| offset | 36 |
|---|
| name | "privOffset" |
|---|
| type | "uint32" |
|---|
|
| offset | 40 |
|---|
| name | "privLength" |
|---|
| type | "uint32" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "woffDirectoryFormat and woffDirectoryEntryFormat" |
|---|
| repo | "https://github.com/fonttools/fonttools" |
|---|
| commit | "b0fa59394498d146b73e2482ae7c17444ddea50b" |
|---|
| path | "Lib/fontTools/ttLib/sfnt.py" |
|---|
| lines | "468-494" |
|---|
|
| type | "source" |
|---|
| detail | "woffDirectoryFormat declares '> # big endian'; fields in the order listed" |
|---|
| repo | "https://github.com/fonttools/fonttools" |
|---|
| commit | "b0fa59394498d146b73e2482ae7c17444ddea50b" |
|---|
| path | "Lib/fontTools/ttLib/sfnt.py" |
|---|
| lines | "468-494" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "WOFFHeader" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:05:06.407Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:06:09.683Z" |
|---|
| summary | "Add data.endianness big: both woffDirectoryFormat and woffDirectoryEntryFormat start with '> # big endian' (sfnt.py 468-494). Field order and offsets confirmed (4+4+4+2+2+4+2+2+4*5 = 44)." |
|---|
| changed | |
|---|
|
|
|---|