Hight and type font of characters

I'm trying to increase the height and font type:
e.g. Arial height 14 to better read the difference between capitals and normal letters; I've tried changing it in preferences but I can't open this file without opening Arduino IDE simply due to the lack of knowledge of the exact file name to open.
So if anyone has therefore a solution, please send eventually to erwin.dupon@gmail.com.
I'm using the version 2.03

Hi @erwindupon

I'll provide instructions:

  1. Select File > Preferences from the Arduino IDE menus.
  2. If you only want to change the font size in the Arduino IDE sketch editor, change the value of the "Editor font size" preference.
    If you want to change the size of the entire Arduino IDE interface, check the checkbox next to "Interface scale: > ☐ Automatic" (if it is not already checked) and then adjust the value of the "Interface scale" preference.
  3. Click the "OK" button.

You can also adjust the value of the "Interface scale" preference by selecting Edit > Increase Font Size or Edit > Decrease Font Size from the Arduino IDE menus (despite the menu name, this actually changes the interface scale when you have the preference set to "Automatic").

I'll provide instructions:

The font can be changed in the IDE's advanced settings:

  1. Open the Command Palette by pressing Ctrl+Shift+P (Command+Shift+P for macOS users).
  2. Select the "Preferences: Open Settings (UI)" command.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type font family
  4. You can now set the fonts by entering a font name in the fields of the settings you are interested in customizing.
    This field is a comma-separated lists of font names. The first installed font on the list is used, so a list of multiple fonts provides fallback fonts to use in case the previous ones don't happen to be installed on the system the IDE is running on.
  5. Click the X icon on the "Preferences" tab once you are finished.

The font change will take effect immediately.


Please let me know if you have any questions or problems while customizing the font.

I will guess you are following some instructions that mention a file named preferences.txt. That information is specific to Arduino IDE 1.x. Arduino IDE 2.x does not use preferences.txt, so even if you did manage to find and edit it, that would not have any effect on Arduino IDE 2.x. Arduino IDE 2.x does have configuration files and you could edit them directly if you really wanted to, but all the Arduino IDE 2.x settings of interest can be modified via the IDE's GUI as you can see from my instructions above. I think that is a much nicer way to configure the IDE than editing the files.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.