https://bugs.winehq.org/show_bug.cgi?id=56788
--- Comment #3 from Kim Scarborough sluggo@unknown.nu --- 3c1462afa0acee45127fe610db1c8258016e8bec is the first bad commit commit 3c1462afa0acee45127fe610db1c8258016e8bec Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue May 28 02:21:29 2024 +0200
gdi32/text: Make GetTextExtentExPointW() return sizes consistent with ExtTextOutW().
Observable issue before this change is that text extent does not match size of ExtTextOutW() output. The fix is to shape text in similar way before measuring. Individual extents returned in this case are arguably useless, they do not match visual output order, and only give an idea on how much each input character contributed to overall width. To match input character order all intra-line and intra-item reordering is disabled.