Suppose that I have the following code:
var canvas = new fabric.Canvas('c');
var text = new fabric.Text('Some text', {
left: 100,
top: 100
});
canvas.add(text);
$('#canvas-wrapper').mousewheel(function(e) {
if (e.originalEvent.deltaY < 0) {
canvas.setZoom(canvas.getZoom() * 1.1);
} else {
canvas.setZoom(canvas.getZoom() / 1.1);
}
});
https://jsfiddle.net/1xv4vp8e/
Note how text blurs when you zoom the canvas (just use your mouse wheel and you'll notice it).
Is there any way to fix it so the text won't have that blurry effect?