Steps to reproduce
- Use PHP 8.3 and the ImageMagick etc underlying language font and image rendering tools.
- Run the test scenario
apiWebdavPreviews/previews.feature:211
Scenario: it should update the preview content if the file content is updated (content with UTF chars)
Given user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/lorem.txt"
And user "Alice" has uploaded file with content "सिमसिमे पानी" to "/lorem.txt"
When user "Alice" downloads the preview of "/lorem.txt" with width "32" and height "32" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded image should be "32" pixels wide and "32" pixels high
And the downloaded preview content should match with "सिमसिमे-पानी.png" fixtures preview content
Expected behaviour
The test should pass - the Nepali Devanagari text should be rendered correctly in the PNG image.
Actual behaviour
The Nepai Devanagari text short-i is not rendered correctly when converted into a PNG preview file.
See discussion comments from #41449 (comment) onwards.
Server configuration
CI with core master and PHP 8.3
Steps to reproduce
apiWebdavPreviews/previews.feature:211Expected behaviour
The test should pass - the Nepali Devanagari text should be rendered correctly in the PNG image.
Actual behaviour
The Nepai Devanagari text short-i is not rendered correctly when converted into a PNG preview file.
See discussion comments from #41449 (comment) onwards.
Server configuration
CI with core master and PHP 8.3