🚧 This incomplete article needs help! Please submit tips and info by pull requests or issues or contacting a maintainer.

...

Limits

The resolution of fonts determines their size on-screen, and fonts are pre-rasterized when compiled by Tool. Players can use Chimera to enable sharper runtime font rendering.

Structure and fields

Field Type Comments
flags int32
ascending height int16
descending height int16
leading height int16
leading width int16
  • Cache only

you can't actually set this; it gets overridden with (ascending height + descending height) / 5 on map build

character tables Block
  • HEK max count: 256
  • Cache only
  • Max: 256
Field Type Comments
character table Block
  • HEK max count: 256
  • Max: 256
Field Type Comments
character index uint16
bold

TagDependency: font

italic

TagDependency: font

condense

TagDependency: font

underline

TagDependency: font

characters Block
  • HEK max count: 32000
  • Read-only
  • Read-only
  • Processed during compile
Field Type Comments
character uint16
character width int16
bitmap width int16
bitmap height int16
bitmap origin x int16
bitmap origin y int16
hardware character index uint16
pixels offset int32
pixels TagDataOffset
Field Type Comments
size uint32
external uint32
file offset uint32
pointer ptr64

Acknowledgements

Thanks to the following individuals for their research or contributions to this topic:

  • Kavawuvi (Invader tag definitions)
  • MosesOfEgypt (Tag structure research)