"Roy Shea" royshea@gmail.com wrote:
Initializes the tmHeight field of the TEXTMETRICW used by callers of get_text_metr_size, even when calls to GetTextMetricsW fail. This fix remedies the Valgrind errors of the form "normalize_nonclientmetrics (sysparams.c:1043)" found throughout the advpack test suite.
GetTextMetricsW should never fail. You need to find a reason of a failure.