text renders in black when it's red in 3d view, why?
There's no light source in your scene. What you can do is give your text's material an emit value (in this case 1). 



Or alternatively you could check the "Shadeless" option.