23 Mar
2024
23 Mar
'24
4:39 p.m.
Hm, this does fix a todo_wine, but it also breaks a Mono test: https://gitlab.winehq.org/wine-mono/mono/-/blob/main/mcs/class/System.Drawin... I think that shows that the StringFormatFlagsLineLimit (which is set by GenericTypographic format) needs to always apply, not just for the first line. I did some manual testing with [this test program](/uploads/ba8e84627b1ef41c23a120fb585d6fe9/measuretext.c), and I wasn't able to identify any difference between the first line and subsequent lines, with or without the StringFormatFlagsLineLimit flag. So I'm not convinced this is the right approach. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5360#note_65926