Text span styling doesn't easily support filters, patterns, gradients (rendering works, setting not)

Bug #1715480 reported by Hachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Filters and patterns can be set manually for text selections (tspan elements) via XML editor, but not via GUI (as far as I could find). It would be fun if those were supported, when text is selected.

As jazzynico points out here: https://bugs.launchpad.net/inkscape/+bug/1482928/comments/1 , it's possible to set a separate gradient per tspan using custom swatches (but could be easier).

Changing the opacity value of a single letter first does nothing, and after leaving the dialog, the complete text becomes less opaque.

Rendering of those properties works, it's only not possible to add them (as far as I could find out).

Tested in Inkscape 0.92.2 on Linux Mint 18.2

Tags: styles text ui
Revision history for this message
su_v (suv-lp) wrote :

> Filters, patterns or opacity (...)

Earlier report related to difficulties to style a selected tspan element, but describing the opposite symptom for object opacity:
* Bug #1480591 “Reduced opacity on tspan ignored for rendering (rev >= 10326)”

AFAICT fill opacity on the other hand (as well as stroke opacity) can still be applied to a highlighted portion of a text via GUI (Fill and Stroke dialog) just fine (a tspan element is created if not already present for the highlighted portion, and the modified properties are written to the style attribute of the relevant tspan).

This request possibly should be focused on support for paint servers on tspan elements (adding and editing via GUI, rendering)?

tags: added: styles text ui
Hachmann (marenhachmann)
description: updated
description: updated
Revision history for this message
Hachmann (marenhachmann) wrote :

Thank you for the corrections, su_v. I've updated the description.

I don't know what a paint server is, so if that question is directed at me, I need some help to answer it.

Revision history for this message
su_v (suv-lp) wrote :

> I don't know what a paint server is, (...)

Gradients, patterns, named colors ... basically all fill or stroke paints that reference another element:
https://www.w3.org/TR/SVG11/pservers.html
https://svgwg.org/svg2-draft/pservers.html

Revision history for this message
Hachmann (marenhachmann) wrote :

Okay, then: yes :)
Thank you!

summary: - Text span styling doesn't support filters, patterns or opacity/alpha
+ Text span styling doesn't easily support filters, patterns, gradients
(rendering works, setting not)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.