torch / image

An Image toolbox for Torch.
Other
208 stars 141 forks source link

Can't draw Chinese Text #197

Closed zhang11wu4 closed 8 years ago

zhang11wu4 commented 8 years ago

When I want to draw chinese characters with function drawtext, output unreadable code on the image, who could help me to fix the error? thanks!

soumith commented 8 years ago

hi, only a few characters are supported, i.e. ascii 0 to 55 or so...

zhangxiangxiao commented 8 years ago

I drew it by converting unicode to images after building a font dictionary using GNU Unifont.

screenshot from 2015-12-24 19-47-02