On 22/03/2025 11:36, Eli Zaretskii wrote: > Cecilio, could you please look into this? I'm guessing that the code > we now use to return the metrics of character glyphs somehow returns > different results from what was used before, in this particular > aspect. The attached patch fixes this by using the GDI measurement for the vertical size of text. Doing the same with DirectWrite would be too expensive, and would imply using the "layout" parts of DirectWrite, to get the same results most of the time. Horizontal extents is different, we need to keep using DirectWrite for that.