• Zhiyi Zhang's avatar
    win32u: Only cache font glyph metrics from GGO_METRICS. · bca9df8d
    Zhiyi Zhang authored
    Fonts loaded with GGO_BITMAP may report different font metrics than that with GGO_METRICS. If the
    font metrics from GGO_BITMAP are used and later getting font metrics with GGO_METRICS or vice versa,
    the font metric difference may cause UI glitchs.
    
    Fix Steam installer next button text moving to the left for 1 pixel when hovered on Mac and Wine is
    built with FreeType > 2.8.0.
    bca9df8d
font.c 218 KB