Provide overstrike and double-overstrike styles for text
Summary:
SVG <text>
elements support overstrike and double-overstrike text styles:
This is <tspan style="text-decoration-line:line-through">slightly bad</tspan> text.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is <tspan style="text-decoration-line:line-through;text-decoration-style:double">really bad</tspan> text.</tspan>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
And Inkscape itself displays these text styles properly:
However, Inkscape provides no way to apply these styles.
A quick tangent on text style controls in Inkscape... The text style controls are not centralized, which is confusing:
- Superscript and subscript are available as text tool toggle buttons, but not in the font configuration dialog.
- Bold and italic are available as CSS styles in the font configuration dialog (with keyboard shortcuts), but not as text tool toggle buttons.
The text tool toggle buttons could be extended to include the following:
- Superscript
- Subscript
- Bold
- Italic
- Overstrike
- Double-overstrike
which would resolve this enhancement request, be consistent with almost every other drawing/editing/authoring application, and make Inkscape easier to use.
Steps to reproduce:
- Load the attached SVG file below into Inkscape.
- Attempt to recreate the text. :)
Sample attachments:
Debug info
Inkscape 1.1 (c68e22c387, 2021-05-23)
GLib version: 2.68.2
GTK version: 3.24.29
glibmm version: 2.66.0
gtkmm version: 3.24.3
libxml2 version: 2.9.12
libxslt version: 1.1.34
Cairo version: 1.17.4
Pango version: 1.48.5
HarfBuzz version: 2.8.1
Poppler version: 20.12.1
OS version: Windows 10 1909