DmitryBaranovskiy/raphael — Issue #469: Webkit on Mac (Safari/Chrome) text scaling 
Author: DanGottlieb
Created: 2011-11-25 20:08:34+00:00
State: open

In webkit on mac (safari and chrome), setting viewbox does not scale text down.

Text in this case should fit within the border, but does not:

```javascript
var paper = Raphael("canvas", 100, 100);

paper.setViewBox(0, 0, 100, 100);

var text = paper.text(50, 50, "test").attr("font-size", 12);

paper.rect(text.getBBox().x, text.getBBox().y, text.getBBox().width, text.getBBox().height).
attr("stroke", "red");

paper.setSize(50, 50);
```