Wrong print size with display scale 125%

Summary:

Wrong size in print with display scaling enabled.

Steps to reproduce:

  • Change in OS display scale to 125%
  • open Inkscape
  • create A4 document
  • add any bitmap into it
  • try to print to virtual or real printer

What happened?

Bitmap printed cliped and in wrong size.

What should have happened?

Page printed as displayed in inkscape.

Sample attachments:

Screenshot2

Screenshot1

drawing.svg

printed.pdf

Version info

Inkscape 1.2.2 (b0a8486541, 2022-12-01)

    GLib version:     2.74.3
    GTK version:      3.24.35
    glibmm version:   2.66.5
    gtkmm version:    3.24.7
    libxml2 version:  2.10.3
    libxslt version:  1.1.37
    Cairo version:    1.17.6
    Pango version:    1.50.12
    HarfBuzz version: 5.3.1

    OS version:       Windows 11 21H2