is there a way to localize the ig.Font tool into asian languages like chinese and japanese?
For example, words in chinese are not built by alphabets, but by strokes. Not sure how that would be adapted/integrated into the game engine
1 decade ago
I think this would be quite complicated to implement with a bitmaped font. I would just go with the Canva's native text rendering for Chinese and Japanese characters.
ig.system.context.fillStyle = '#ffffff';
ig.system.context.fillText( '日本人', 100, 100 );
ok got it working. Must add the utf-8 meta tag to the <head> element.
// UTF-8 added to header
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
Page 1 of 1