Created attachment 183352 [details] Example file EMR_EXTSELECTCLIPRGN clips text (drawn with EMR_EXTTEXTOUTW) in the attached file even though it shouldn't be clipped because of an earlier EMR_SETWINDOWORGEX drawing command that sets the window origin y to -10.
Created attachment 183353 [details] LO left, PPoint right
I am working on this.
Paris Oplopoios committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b9eaed7a4c484dde0b5c61b34b4beb60a101f661 tdf#151844 Make EMR_EXTSELECTCLIPRGN factor in WinOrg coordinates It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.