using a different shader on font material

Hi

I am using the Standard Assets->Fonts->Courier->font material on a GO to display changing text. The font material commonly uses the shader: GUI/Text Shader, but I would like to use GUI/Text Shader DepthTest like the Courier does. I can change the settings in the Editor while the program is running, but not before hand, is there a way I can do this in C#? (like set material shader to ...)

thanks.

You can just create a brand new material and set the shader to whatever you like, then add the texture from the foldout for the font. It also allows you to set the colour, something which the default material won't allow either