CLI --export-text-to-path converts grouped shapes to paths (plain svg export)

Migrated from https://bugs.launchpad.net/inkscape/+bug/1312752

Summary:

--export-text-to-path converts shapes to paths (if they are grouped) on export to svg. It should only convert text.

Steps to reproduce:

  • Download in-groups.svg
  • For 1.0 or later: inkscape --export-text-to-path -o out-groups.svg in-groups.svg
    • optionally, add the --export-plain-svg flag
    • For 0.92.x or a bit earlier, use inkscape --export-text-to-path -l out-groups.svg in-groups.svg

What happened?

  • The circle and the rect are now paths (if they were not in a group, they remain shapes)

What should have happened?

  • shapes should be unaffected by the --export-text-to-path flag

Bug should be introduced by inkscape@6ee7c590 Fix for 903772 : Support --export-text-to-path when outputting plain SVG (bzr r11418)

Version Info:

  • Inkscape 1.1-dev (7ab0a1ea59, 2020-10-27), Linux Mint 20
  • Inkscape 0.92.5 (2060ec1f9f, 2020-04-08), Linux Mint 20
  • Inkscape 0.48+devel r13303, OS X 10.7.5.
  • Inkscape trunk revision 13303, Crunchbang Waldorf
Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information