# Font settings

> **TL;DR**
> `File | Settings | Editor | Font` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Editor | Font` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this page to configure the font used in the IntelliJ IDEA editor. By default, this font is used in all color schemes. For more information, refer to [Fonts](configuring-colors-and-fonts.html#fonts).

![The Font settings page](https://resources.jetbrains.com.cn/help/img/idea/2026.2/ij_editor_settings_font.png)

| Font | Select the font for text in the editor. |
| Size |    Specify the size of the font in points/pts.                       If you need to quickly change the font size while in the editor, press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open the IDE settings, go to `Editor \| General`, and select Change font size with Command+Mouse Wheel or Change font size with Control+Mouse depending on your operating system.     |
| Line height |  Specify the factor of the point size for the vertical distance between lines of code in the editor. The default value `1.2` corresponds to 120% of the point size. Try changing the factor and see the effect in the preview area.  |
| Restore defaults |  Restore the default font settings. Available only when the settings are different from defaults.  |
| Enable ligatures |     Enable font ligatures: special symbols in a font that combine two or more symbols into one. For example, show `!=` as `≠`.                       |

## Typography Settings

|  Main weight | Select a weight for regular text. |
|  Bold weight  | Select a weight for bold text.  |
| Fallback font | Select a font to use for characters that are not part of the main font. |
| Character variants | Сonfigure OpenType stylistic sets supported by your selected font. Stylistic sets allow you to customize the appearance of specific characters or groups of glyphs (for example, to use a slashed zero or alternative shapes for letters like `a` or `g`) without changing the font itself. |

> **Tip:**
> To configure the font used in the IntelliJ IDEA interface (tool windows, toolbars, menus), open the IDE settings `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)), and go to `Appearance & Behavior | Appearance`. From the Use custom font list, select a font and specify the font size in the Size field.
>
>
>
> For more information, refer to [Appearance](settings-appearance.html).

> **Tip:**
> To configure the font used in the console output, refer to [Customize the console font](configuring-colors-and-fonts.html#custom-console-font).

