On Thu Oct 19 15:56:32 2023 +0000, Esme Povirk wrote:
This needs to be handled in gdip_format_string first, and probably the info we get out of mlang should be passed on to the various callback functions.
Mmm I'm stuck on this, how should I do it? The first I thing I thought was calling the callback for each string section with the specific font, but I realized that some functions like GdipMeasureString count the amount of times the callback is called for counting each line. I also thought in passing an array containing each section of the string, but that would require more refactoring and I'm not sure if that is desired.