[4.0] Add GET_GLYPH_METRICS to onlyOnceOperations in GetTextDirection