0
window.onload = function(){
var r = Raphael("world", 500, 500);
r.text(100, 100, "US").attr({
"font-size": 5
});
r.setViewBox(0, 0, 300, 300, false); //remove this line, chrome will work fine.
}
텍스트의 글꼴 크기가 5px가 아닌 12px (크롬 기본 최소 글꼴 크기)였습니다. * {- webkit-text-size-adjust : none;}에 대한 CSS를 추가했지만 작동하지 않았습니다. 크롬에서 문제가 발생합니다. 537.22 버전텍스트 font-size attr이 (가) 호출시 paper.setViewBox()가 유효하지 않습니다.
.attr()은 Raphael Element 특성이며 jquery 메서드는 아닙니다. – Steven