Byeongsik Jeon : gdi32: Add helper functions to compute the glyph metrics.