How to increase font size of text displayed

I have a code snippet that displays some text on the screen. Is there any way to increase the font size and the font itself

This is the display code-

public var mess: String = "Hello";
    
    function OnGUI() 
    }
        GUI.Label (Rect (10, 30, 1000, 20),"Word: " +mess);
    }

Make a GUIStyle where the fontSize is the desired size and use that style in the label.

var myStyle : GUIStyle;

Also you can do this:

var textStyle : GUIStyle ; //change settings from inspector
var mess : String = "Hello";
var resizeFont : float = 0.2;//change this to resize font (min=0,01 - max=0,5)

	
function OnGUI(){
	//FONT RESIZE
	textStyle.fontSize=Mathf.RoundToInt(Screen.height * resizeFont);
	
    GUI.Label (Rect (10, 30, 1000, 20),"Word: " + mess , textStyle);
}