Fix reading glyph outside font in text_metrics