Optional
metricsProvides the font metrics in order to ensure consistent text layout across different font types (Canvas/Web, SDF, etc.).
Important: We HIGHLY recommend providing these metrics for both SDF and Web/Canvas fonts. You can use the Lightning 3 msdf-generator tool to generate these metrics from a font file. The metrics generated by this tool can be used with both SDF and Web/Canvas fonts.
If not provided, a warning will be logged and the text layout may not be consistent across different font types.
If not provided, the metrics will be gathered depending on the font type.
Font metrics used for layout and default line height calculations.