dwrite: Estimate x-height and cap height metrics if they're missing.