Port uicore LineMetrics initialization