问题
I just updated PyCharm this month, April 2020, and after updating the font changed to this strange font. In Editor -> Font -> Font I have it set to Jetbrains Mono, this isn't Jetbrains mono though. I tried switching to a few other fonts, but it seems to be stuck on this one. Any idea how to fix this?
回答1:
Default fonts used before 2020.1 version depending on the OS:
public final static String FALLBACK_FONT_FAMILY = "Monospaced";
public final static String MAC_OS_DEFAULT_FONT_FAMILY = "Menlo";
public final static String LINUX_DEFAULT_FONT_FAMILY = "DejaVu Sans Mono";
public final static String WINDOWS_DEFAULT_FONT_FAMILY = "Consolas";
You can change the font at File | Settings (Preferences on macOS) | Editor | Font.
回答2:
The update changed my font-size to 13 px instead of 12 px, which made it look significantly different.
来源:https://stackoverflow.com/questions/61396203/ide-update-changed-font-how-i-can-reset-the-font-back