PDF export has wrong size

Summary:

Documents exported as PDF had not the exact size, independent of the setting for rounding compensation.

Steps to reproduce:

  • open Inkscape
  • creat new document with size, for example A4
  • Inkscape shows 297,000x210,000mm
  • Export document via File > Export
  • Set version 1.4/1.5 and rounding compensation on/off
  • Export file has 210,26x297,04mm which leads to manual intervention/post-processing during processing in an external system that checks the size (online print shop)

What happened?

  • Export file has 210,26x297,04mm

What should have happened?

  • However, the export file should be 210.00 x 297.00 mm in size

Sample attachments:

drawing.svg

bitmap_composated.pdf

bitmap_not_composated.pdf

Version info

Inkscape 1.4 (86a8ad7, 2024-10-11)

                      Compile  (Run)
    GLib version:     2.82.1
    GTK version:      3.24.43 (3.24.43)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.12.9
    libxslt version:  1.1.42
    Cairo version:    1.18.2 (1.18.2)
    Pango version:    1.54.0 (1.54.0)
    HarfBuzz version: 10.0.1 (10.0.1)

    OS version:       Windows 11 23H2