Mobile app version of vmapp.org
Login or Join
YK2262411

: How to underline text in Inkscape Using Inkscape's latest official release, I created a text element, and would like to underline its text (or part of it). How to do that? I don't see any

@YK2262411

Posted in: #Inkscape #Text

Using Inkscape's latest official release, I created a text element, and would like to underline its text (or part of it).

How to do that?
I don't see any option to underline.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @YK2262411

2 Comments

Sorted by latest first Latest Oldest Best

 

@Dunderdale640

The support for the text in Inkscape is improved in these years, but there are some feature not yet implemented.

SVG standard supports text decoration and Inkscape aims to be fully compliant with SVG standard, so I've tried to add this properties at xml level, and it worked:

text-decoration: underline;


It's very simple to do: after typing your text, press the button for the XML editor:



Your text is selected, and the corresponding XML node is selected in the editor (there is no need to find something). Now, you need to click on "style" row, add the desired CSS style at the end of the current style, (e.g. text-decoration: underline;), using a semicolon ";" as separator, and press the Set button:



Once the attribute value is set, you see your text underlined:



Be aware that in order to remove the underline you need to find it in the XML attribute value and delete it manually (it's not difficult).

10% popularity Vote Up Vote Down


 

@Sent7350415

This feature is currently being developed, so it is not available yet.

An option is to use a custom build, including this patch: bugs.launchpad.net/inkscape/+bug/1269206
Hopefully the patch will be merged into the main release soon.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme