Qt: Fix font layout metrics.