In refresh, recompute line heights when no known text height

Issue #1793