[PATCH 02/12] gdi32: Add a helper function to cache the glyph metrics.