Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Function createFontHandle

    • Build a handle over already-loaded font bytes.

      id is chosen by the caller and printed verbatim into golden dumps, so it must be stable across runs, platforms and font refreshes. latin-modern.ts uses the upstream filename stem for exactly that reason.

      data is retained by reference and handed back through handle.data for PDF embedding; do not mutate it afterwards.

      Parameters

      • id: string
      • data: Uint8Array

      Returns FontHandle