April 20, 2026
3:50 p.m.
On Mon Apr 20 08:08:57 2026 +0000, Dmitry Timoshkov wrote:
What you would suggest? Duplicate the logic for calculating y-offset from GdipDrawString() to GdipMeasureString()/GdipMeasureCharacterRanges()? Move that logic into gdip_format_string. Either that does require a design change, where the lines are processed all at once before being sent to the callback, or a recursive call using StringAlignmentNear when vertical alignment is something else.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9775#note_137111