bool SetFont(char* font,float size, int type);

                Create a new font type. You need call it once before you use the text rutines. The final font size can not be larger than 256x256 pixels.

 

                Font: Name of the font. They are the windows standard font types.

                Size: Size of the font in pixel.

                Type:  It is 0 in normal mode, but you can use
                D3DFONT_BOLD:integer=        1

                D3DFONT_ITALIC:integer=      2

 

                Result:

                Success