On Tue Feb 6 18:34:36 2024 +0000, Esme Povirk wrote:
The difference might have to do with scaling? It looks like GdipMeasureString scales the size, and I don't think font_link_get_text_extent_point would. Come to think of it, it's probably necessary to account for text rotation when in draw_string_callback (an arbitrary affine transform can be applied to the text, although I think at the moment our handling of anything beyond rotation is a bit broken). I think it might be a good idea to add output parameters for dx and dy to draw_driver_string.
About text rotation in draw_string_callback, should it be included in this merge request?
dx and dy refers to direction? And where would they come from in draw_driver_string?