Created attachment 195203 [details] A sample with a metafile saved to HTML as a black rectangle Since version 6.2, the attached document, when saved as HTML (using "HTML Document (Writer)" filter), produces a black rectangle for the embedded metafile. Before, the generated GIF had correct black diagonal lines on transparent background.
Reproducible with Version: 24.2.5.1 (X86_64) / LibreOffice Community Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded + Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 872e0d3c8a17b582f04b82aa2525e614080acda9 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Exporting as xhtml works fine.
https://gerrit.libreoffice.org/c/core/+/170311
Created attachment 195219 [details] Another sample using a different codepath Interestingly, this sample uses a different code path, started to produce black result in 6.3, but is fixed by the same change.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/37217909f2e7c042eab9a8b5eb1ab0a88cdda513 tdf#161979: Render GDI metafile using drawinglayer in XOutBitmap It will be available in 25.2.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.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/813271fd50b384f0fb3f6201d6063a9ec5a371dc tdf#161979: Render GDI metafile using drawinglayer in XOutBitmap It will be available in 24.8.0.2. 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.
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 37217909f2e7c042eab9a8b5eb1ab0a88cdda513 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded