add something to text2bmp.c, not finished