- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 12 Jul 2013 16:31:26 +1000
- To: "www-svg@w3.org" <www-svg@w3.org>
Cameron McCormack wrote: > It's not clear how the various SVG DOM text methods on > SVGTextContentElement are affected by textLength="" and lengthAdjust="". > I think that when lengthAdjust="spacing", they should behave as if the > glyphs have been repositioned using x="". That would mean > getComputedTextLength would return the same value as when there is no > textLength="". When lengthAdjust="spacingAndGlyphs", the methods should > behave as if the glyph cells cover their newly scaled area, and so > getComputedTextLength would return the textLength value, getExtentOfChar > would return the scaled glyph cell, etc. We decided on the call today to have getComputedTextLength and getSubStringLength work on the UA-computed length (i.e., before applying the lengthAdjust="" adjustments), and all others are affected by lengthAdjust="".
Received on Friday, 12 July 2013 06:31:58 UTC