Is there any way to calculate/guesstimate the length of a string in pixels??? I am using ASP/SVG to dynamically create an image where a string of links follows a circular path. Based on the length of the string, I have calculated the angle of rotation that is used in a transformation. I have rougly calculated that an Arial font, size 12 is 6px wide for each character. Since I am not using a fixed width font, I wanted to know if there is any way I can gain greater precision in my calculations.