GNOME Bugzilla – Bug 574544
Text coming out wrong size when SVG scaled to funny resolution
Last modified: 2017-12-13 17:35:50 UTC
Please describe the problem: Problem first noticed on the Wikipedia. When an SVG was scaled down, the text came out disproportionately small. Steps to reproduce: I have created a small example, and will attach it to this report. Render test_bad.svg at full-size and then scale it down to 50%. rsvg test_bad.svg test_bad_full.png convert test_bad_full.png -scale 50% test_bad_full.png Render test_bad.svg at half-size: rsvg -h325 test_bad.svg test_bad_half.png Actual results: The text is too small in the one that was rendered by rsvg at half-size. Expected results: The text be the same size. Does this happen every time? Yes. Other information:
Created attachment 130275 [details] Small test case
Just to add that if you take away the <path> element, the text scales properly. (See test_ok.svg) Many thanks, Rupert Millard
I could not that reproduce.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/30.