Font metric cache in the Qt terminal