ducjs - v4.4.2
    Preparing search index...

    Function getLineHeightInPx

    • We calculate the line height from the font size and the unitless line height, aligning with the W3C spec.

      Parameters

      • fontSize: number
      • lineHeight: number & { _brand: "unitlessLineHeight" }

      Returns number