#1053740 /usr/bin/rsvg-convert (pdf): different x/y scale only respected for stroke, not fill of same text

Package:
librsvg2-bin
Source:
librsvg2-bin
Description:
command-line utility to convert SVG files
Submitter:
Frank Heckenbach
Date:
2023-10-10 01:24:04 UTC
Severity:
normal
#1053740#5
Date:
2023-10-10 00:37:25 UTC
From:
To:
% cat test.svg
<svg viewBox="-2 -15 40 20">
<text font-size="20" stroke="red" transform="scale (0.5, 1)">ABC</text>
</svg>
% rsvg-convert -f pdf -o test.pdf test.svg

The resulting pdf has the outline (stroke) correctly, but the filled
letters are spaced without respecting the scale, see attached
screenshot from okular. When both x and y are scaled the same, the
result is correct. (Honestly, I find it hard to imagine what would
cause such a strange bug, shouldn't the placement of the letters
always be the same for stroke and fill?)