Comment 6 for bug 135869

Revision history for this message
Raúl González Duque (zootropo) wrote :

Ok, it was because of that stupid thing. If we have an image called image.png and execute this command at its folder:
convert image.png -fill white -pointsize 100 -draw "text 200,200 '取回預報 中'" image.png
image2, which should be just the same as the previous image but with the text 取回預報 中 at 200x200, doesn't show any text.

But if we execute
convert image.png -font /path/to/the/font/odosung.ttc -fill white -pointsize 100 -draw "text 200,200 '取回預報 中'" image2.png
i.e., if we tell convert to use a font which has chinese characters, it does work.

convert should be smart enough to select the default font to use depending on the locales or the text to be written.

Anyway, I'll add a dialog to select the font for version 0.3.

Thank you very much for your help and patience, Jose.