Skip to content

Devanagari short-i ligature is not renedered correctly in preview #41480

@phil-davis

Description

@phil-davis

Steps to reproduce

  1. Use PHP 8.3 and the ImageMagick etc underlying language font and image rendering tools.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions