Open EIP-Shine opened 4 years ago
size(500,500) myFont=createFont("宋体",40) textFont(myFont) fill(0) text("hello,中文",100,200)
Perhaps try using a unicode literal:
size(500,500) myFont=createFont(u"宋体",40) textFont(myFont) fill(0) text(u"hello,中文",100,200)
here is my code
size(500,500) myFont=createFont("宋体",40) textFont(myFont) fill(0) text("hello,中文",100,200)