[org.kde.desktop/Units] Use FontMetrics for fontMetrics
This makes it more consistent with the normal Units class. Also using var instead of variant because the latter is deprecated.
This makes it more consistent with the normal Units class. Also using var instead of variant because the latter is deprecated.