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

    Function scaleToPoints

    • points = fontUnits * size / unitsPerEm — the only scaling rule in the engine.

      Parameters

      • fontUnits: number
      • size: number
      • unitsPerEm: number

      Returns number