This page is incomplete! You can contribute information using GitHub issues or pull requests.

...

Limits

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

Structure and fields

FieldTypeComments
flagsint32
ascending heightint16
descending heightint16
leading heightint16
leading widthint16
  • Cache only

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

character tablesBlock
  • HEK max count: 256
  • Cache only
  • Max: 256
FieldTypeComments
character tableBlock
  • HEK max count: 256
  • Max: 256
FieldTypeComments
character indexuint16
boldTagDependency: font
italicTagDependency: font
condenseTagDependency: font
underlineTagDependency: font
charactersBlock
  • HEK max count: 32000
  • Read-only
  • Read-only
  • Processed during compile
FieldTypeComments
characteruint16
character widthint16
bitmap widthint16
bitmap heightint16
bitmap origin xint16
bitmap origin yint16
hardware character indexuint16
pixels offsetint32
pixelsTagDataOffset
FieldTypeComments
sizeuint32
externaluint32
file offsetuint32
pointerptr64

Acknowledgements

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

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