fix some bugs in drawtext.xtm
add drawtext.xtm example