Fix rendering of asian characters
This commit is contained in:
parent
a9248cab32
commit
8a194646d7
2 changed files with 4 additions and 1 deletions
|
|
@ -109,7 +109,9 @@
|
|||
for (var i=0; i<items.length; i++) {
|
||||
alert(items[i] + "juhu");
|
||||
}
|
||||
}</script>
|
||||
}
|
||||
// A magic character: >> ぁ <<
|
||||
</script>
|
||||
|
||||
<script type="text/editor" id="csstext">.text-layer {
|
||||
font-family: Monaco, "Courier New", monospace;
|
||||
|
|
|
|||
|
|
@ -274,6 +274,7 @@ var Text = function(parentEl) {
|
|||
}
|
||||
|
||||
var _self = this;
|
||||
var characterWidth = this.config.characterWidth;
|
||||
function addToken(token, value) {
|
||||
var output = value
|
||||
.replace(/&/g, "&")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue