mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 13:26:07 +08:00
Better unicode support in Konva.Text and Konva.TextPath. Emoji should work better now 👍. fix #690
This commit is contained in:
@@ -1813,6 +1813,12 @@ suite('Node', function () {
|
||||
|
||||
layer.add(circle);
|
||||
stage.add(layer);
|
||||
|
||||
var trace = layer.getContext().getTrace();
|
||||
assert.equal(
|
||||
trace,
|
||||
'clearRect(0,0,578,200);save();transform(1.879,0.684,-0.342,0.94,14.581,42.306);beginPath();rect(0,0,100,50);closePath();fillStyle=green;fill();lineWidth=4;strokeStyle=black;stroke();restore();'
|
||||
);
|
||||
});
|
||||
|
||||
// ======================================================
|
||||
|
||||
Reference in New Issue
Block a user