Godot:Font
Inline example
var font
func _ready():
font = DynamicFont.new()
font.font_data = load("res://whatever.ttf")
font.size = 20
func _draw():
draw_string(font, Vector(0, 0), 'this is some text')
get_string_size
해당 폰트를 사용하여 텍스트를 그릴 경우 사용될 영역의 크기를 계산할 수 있다.