Description: We are not setting text contrast when this is set via an EmfPlusSetTextContrast record. Steps to Reproduce: Open an EMF+ image that sets text contrast to a particular gamma. Actual Results: Contrast is not set. Expected Results: Contrast should be corrected within a gamma range of 1.0 to 2.2. Reproducible: Always User Profile Reset: No Additional Info:
Since you assigned yourself, let's put this one to ASSIGNED :-)
Please attach EMF+ image which uses EmfPlusSetTextContrast record. It could be used for verify if the implementation is working correctly.
Created attachment 156657 [details] Gamma of 2500 (outside of bounds)
I have attached a test image. Note that the gamma is out of bounds - it is 2.5 but the range is 1.0 to 2.2. I clamp the value.
Chris Sherlock committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ac793c7d9d3dda330aa25345f092b188e2a79a6d tdf#129188 drawinglayer: implement EMF+ SetTextContrast It will be available in 6.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.