DmitryBaranovskiy/raphael — Issue #490: Probarbly error in Raphael VML with showing text
Author: Eraser666
Created: 2012-01-04 09:42:24+00:00
State: open

Hi,

I have created a little example to show that this doesn't work in IE8. Somehow the text is being cut off.

var paper = Raphael(0, 0, 1500, 480);

var lbl = paper.text(0, 20, "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.");

Even adding .attr({'text-anchor': 'start'}); to the text element doesn't solve the problem.

Regards,
Ruben