Description
GetOutlineTextMetricsW almost always fails because most callers call it with sizeof(OUTLINETEXTMETRICSW) without really caring for the embedded string at the end of the struct.
Our code fails if the supplied buffer is too small to contain the said strings, hence the problem.
This affects for instance gdiplus font code.
Attachments
Issue Links
- duplicates
-
CORE-6660 gdi32: GetOutlineTextMetricsW failing with ERROR_INSUFFICIENT_BUFFER
- Resolved