Open the "jmeter.properties" file, search for "jsyntaxtextarea.font.family", and uncomment it.
#jsyntaxtextarea.font.family=Hack #jsyntaxtextarea.font.size=14 Just remove the "#"
To modify the font size, you only need to change the value of size, which is 14 by default and can be adjusted as needed.
Restart jmeter to take effect.