Description
GetOutlineTextMetricsW called with a default OUTLINETEXTMETRICW struct+size fails with. ERROR_INSUFFICIENT_BUFFER.
GetOutlineTextMetricsW after a while ends up in NtGdiGetOutlineTextMetricsInternalW (gdi\ntgdi\font.c), which is calling IntGetOutlineTextMetrics (gdi\ntgdi\freetype.c) to query size needed.
This size returned includes the font name + family name sizes, in addition to the size of the OUTLINETEXTMETRICW struct.
NtGdiGetOutlineTextMetricsInternalW responds by deciding "The buffer supplied is too small", and returns a failure.
Attachments
Issue Links
- blocks
-
CORE-6643 gdiplus winetest failures
- Resolved
-
ROSTESTS-79 gdiplus_winetest: skipping test_font_metrics
- Resolved
- is duplicated by
-
CORE-8507 Fixes for GetOutlineTextMetrics
- Resolved