fixes to fontmetrics