[1/2]usp10: cache OUTLINETEXTMETRICW instead of just TEXTMETRICW

Dmitry Timoshkov dmitry at baikal.ru
Thu Jul 19 11:58:51 CDT 2012


Aric Stewart <aric at codeweavers.com> wrote:

> +    sc->tm = heap_alloc(size);
> +    GetOutlineTextMetricsW(hdc, size, sc->tm);

otmSize exists for a reason, if GetOutlineTextMetrics currently doesn't
check it this doesn't mean it won't at some point in future.

-- 
Dmitry.



More information about the wine-devel mailing list