Raphael — Changing the letter color of text string
问题 (using Raphael_2.01, WindowsXP, Firefox8.0.1) Hello, I'm trying to change the letter color of text by referring to "Drawing Text" of http://www.html5rocks.com/en/tutorials/raphael/intro/ . I can display the text "HTML5ROCKS" but I can't change the color. var t = paper.text(50, 10, "HTML5ROCKS"); var letters = paper.print(50, 50, "HTML5ROCKS", paper.getFont("Courier"), 40); // I think "Vegur" is Mac font. So I change it to "Courier". letters[4].attr({fill:"orange"}); for (var i = 5; i <