1

So I created some underlined text in Inkscape by following this post as a guide. Now I want to convert my text object into a path. Whenever I select my text and hit the Object to Path button under the Path menu, my text object becomes a path, but my underline disappears! How do I preserve the underline when converting a text object into a path?


(HE LP )

1
  • Text decoration is ignored when converting text to paths,. It's a known bug. See here. The workaround would to be to draw lines manually.
    – Billy Kerr
    Jun 8, 2022 at 8:56

1 Answer 1

1

How do I preserve the underline when converting a text object into a path?

Preserving the underline is not possible in the current release version of Inkscape (1.2). You may only (manually) create and add an appropriate underlining path.

Inkscape is still in progress to reach a full compliance with the SVG standard, so there are still SVG elements / attributes which are not supported, or are supported only partially.

The text-decoration is an example of such a partially supported attribute – Inkscape don't ignore it and displays it, but it presently not considers it as a part of a text object.

It follows besides other things from the impossibility to apply underline style directly from the Tool Control Bar of the Text tool. You may only manually (although comfortable from the Inkscape XML Editor or Selectors and CSS dialogs) add this attribute into the resulting SVG (XML) file.

2
  • Do you know of any third-party plugin that allows you to preserve the underline?
    – Pirate GIG
    Jun 8, 2022 at 2:50
  • @Pirate GIG, AFAIK there is not such an extension.
    – MarianD
    Jun 8, 2022 at 4:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.