Pattern preserveAspectRatio is ignored if object moved or has transform

Summary:

The Inkscape doesn't render well SVGs with custom patterns. See the attached example.

Steps to reproduce:

  • open the attached file plot.svg in the Inkscape
  • open the same in the Chrome / Edge / Firefox and compare the result

What happened?

The Chrome / Edge / Firefox render the patterns in the SVG well, but the Inkscape draws it deformed.

What should have happened?

The picture should be rendered as in the attached

Sample attachments:

  • The SVG: plot.svg
  • The well rendered SVG (Chromium; on white background): plot_well_rendered
  • This is how the Inkscape renders it: plot

Version info

Inkscape 1.1 (c68e22c387, 2021-05-23)

    GLib version:     2.68.2
    GTK version:      3.24.29
    glibmm version:   2.66.0
    gtkmm version:    3.24.3
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.48.5
    HarfBuzz version: 2.8.1
    Poppler version:  20.12.1

    OS version:       Windows 10 2009
Edited by Nathan Lee