UnrealPackageReader.js
    Preparing search index...

    Interface FontRemap

    One entry of a font's TMap<TCHAR, TCHAR> CharRemap, which maps a character code to the glyph slot that draws it. A TMap serialises as a count followed by key/value pairs.

    TCHAR is two bytes: UT is a Unicode build (_UNICODE makes TCHAR a UNICHAR, unsigned short - Core/Inc/UnVcWin32.h in the UT 436 source release). That is a property of the build that wrote the file, not of the file, but the remap only exists from v69, which is the Unicode-built UT codebase. Settled by UT's LadderFonts.utx, whose TrueType-imported fonts each carry 1,183 pairs - (0,0) (1,1) ... (0xA69D,0x049D) - at four bytes a pair, landing exactly on the object's end. ut_packages.pas:5738-5742 reads them as single bytes, which only works for the empty maps every stock bitmap font has.

    interface FontRemap {
        key: number;
        value: number;
    }
    Index
    key: number
    value: number