Fix horizontal font metrics
Invalidate line metrics when replacing text