How to change the font and size of text editor in Blender 2.8?
You can change it in the sidebar of the text editor, which you can open with CTRLT or View > Sidebar. The font size can also be adjusted without opening the sidebar by pressing CTRL and using the scroll wheel.