@lightningtv/renderer
Version:
Lightning 3 Renderer
13 lines (12 loc) • 409 B
TypeScript
import type { NormalizedFontMetrics } from './font-face-types/TrFontFace.js';
/**
* Calculate the default line height given normalized font metrics
*
* @remarks
* This method may be used for both the WebTrFontFace and SdfTrFontFace font types.
*
* @param metrics
* @param fontSize
* @returns
*/
export declare function calcDefaultLineHeight(metrics: NormalizedFontMetrics, fontSize: number): number;