How to resize font in C#?

Godot Version

v4.2.2.stable.mono.official

Question

I’m making a font resize function for my dev console, so I write this and connect it to gui_input:
(_fontName is _display.GetThemeDefaultFont().GetFontName())


The font size seems changed but didn’t apply to remote _display(TextEdit):

image