11 Dec
2023
11 Dec
'23
5:07 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/graphics.c:
};
static GpStatus measure_ranges_callback(HDC hdc, - GDIPCONST WCHAR *string, INT index, INT length, GDIPCONST GpFont *font, + GDIPCONST WCHAR *string, INT index, INT length, + struct gdip_font_link_info *font_link_info, GDIPCONST RectF *rect, GDIPCONST GpStringFormat *format, Apparently this function doesn't use GpFont, but it probably will eventually have to be aware of the section fonts. Unless it really doesn't need that for some reason, I think a FIXME should be added for the case where there isn't just 1 section containing the base font.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4082#note_55718