Also text nodes have positions that can be scoured

Bug #835455 reported by Hungerburg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scour
Confirmed
Low
Unassigned

Bug Description

The list of nodes that contain length kind of attributes misses the "text" entity. Attached patch cares for that.

Revision history for this message
Hungerburg (pch-myzel) wrote :
Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

The SVG specification says that x= and y= (and dx= and dy=) for <text> may be lists of numbers instead of just numbers. The scourLength function doesn't appropriately react to having more than one number delimited by anything in its input string.

There are also some more length attributes in <text> that your patch doesn't cover, like dx=, dy= and textLength=, as well as more elements using the same attributes as <text>, such as <tspan> and <altGlyph>.

Changed in scour:
importance: Undecided → Low
status: New → Confirmed
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.