April 30, 2026
7:59 p.m.
My suggestion is to do our measurement tests in the native size of the font. We should be able to precisely match native at that size, assuming the font/glyph metrics are the same. At other sizes, the decision to not try to make linear scaling work means we can be off by an arbitrary amount. I would also want to check on interactions with other functions like GdipGetFontHeight and MeasureCharacterRanges. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10788#note_138426