Implement Font.metrics.