The tuneText function for SVG and (equivalent for VML) utilises getComputedStyle to procure effective font-size of a text, but does not do the same to determine the effective line-height. This is counter productive when using CSS to improve rendering performance of text elements.
The
tuneTextfunction forSVGand (equivalent for VML) utilisesgetComputedStyleto procure effectivefont-sizeof a text, but does not do the same to determine the effectiveline-height. This is counter productive when using CSS to improve rendering performance of text elements.