Description: LO supports DrawSDriverString with Brush, but not DrawString with Brush. Steps to Reproduce: Open attached EMF sample. Actual Results: LO draws empty object. Expected Results: It should draw a dark red string "0123456789ABCDEF" Reproducible: Always User Profile Reset: No Additional Info: DrawDriverString geets the color here: https://github.com/LibreOffice/core/blob/master/drawinglayer/source/tools/emfphelperdata.cxx#L2090 Probably it could be picked for DrawString implementation.
Created attachment 173072 [details] EMF sample of EMF+ DrawString with Brush MR
Created attachment 173073 [details] How it should look like
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9e8c35cc3f1f5e1c08afd46e0d0fbc07f1ff21f9 EMF+ tdf#142975 Add brush support to DrawString record It will be available in 7.3.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.
Bartosz Kosiorek committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/1eb828add814108d63ea61e38d948a0337fc4ee6 EMF+ tdf#142975 Add brush support to DrawString record It will be available in 7.2.0.0.beta2. 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.