-
Notifications
You must be signed in to change notification settings - Fork 26
Font
Jessica Creighton edited this page Feb 24, 2013
·
4 revisions
The font table appears to have has a minimum of 4 entries. First 3 are the same. 4th is an instance of Application Font
Length | Type | Value
--------+---------+---------
2 | | ? 00 01
2 | | ? 00 02
2 | | ? 00 03
2 | uint16 | Font count
Font count of the following:
Length | Type | Value
--------+---------+---------
4 | uint32 | id?
2 | | Size
1 | | ? 04
1 | uint8 | Style (see below)
2 | uint16 | Bold if == 1000?
2 | | Real Size?
2 | | ? Seems to increase when bold
2 | | ? Seems to increase when bold
Font count of the following:
Length | Type | Value
--------+---------+-------
1 | uint8 | Font name length
* | string | Font name
A few special fonts:
Name | Value
------+------------------
0 | Application Font
1 | System Font
2 | Dialog Font
Bold and Size are 0x8000 when not set