faiface/pixel

Does this 2D library support Chinese characters and Japanese characters

Closed this issue · 4 comments

i have read your code
https://godoc.org/github.com/faiface/pixel/text
i find that it use ASCII,does it support utf8?i mean , i want to print some Chinese characters and Japanese characters
thank you

Asday commented

You can make your own atlas with NewAtlas, and specify the kanji and hanji you want there. ASCII and Atlas7x13 appear to be provided for convenience only.

You can make your own atlas with NewAtlas, and specify the kanji and hanji you want there. ASCII and Atlas7x13 appear to be provided for convenience only.
thank you,I'll try it

i have sovled this issue with "Microsoft-YaHei.ttf",thank you for your help! @Asday

Asday commented

Always a pleasure.