June 20, 2026
9:59 p.m.
The rectangles supplied to emfdc_update_bounds() by the EMFDC record emitters are inclusive in logical units, but the previous code simply fed the two corners through LPtoDP as if they were independent points. That collapses the rectangle to the device pixel hit by the inclusive corner and silently drops everything else within the same logical unit. Unlike with MM_TEXT and similiar, MM_ANSIOTROPIC/MM_ISOTROPIC mappings may span many device units per single logical unit, causing the bounds to be short on each axis. This then gets propagated to GDI+ and produces a much smaller frame than Windows does. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11217