Add Custom Fonts like Operator Mono to Intellij IDEA in Windows
Mar 07, 2023 · 1 Min Read · 9 Likes · 2 Comments![Add Custom Fonts like Operator Mono to Intellij IDEA in Windows](/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_220x0_resize_q75_lanczos.jpg 220w,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_440x0_resize_q75_lanczos.jpg 440w,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_500x0_resize_q75_lanczos.jpg 500w,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_600x0_resize_q75_lanczos.jpg 600w,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_640x0_resize_q75_lanczos.jpg 640w,,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_720x0_resize_q75_lanczos.jpg 720w,,/content/images/2023/03/fonts_hu34abe790bcc5d4ecbb731db5fbf07320_716516_1024x0_resize_q75_lanczos.jpg 640w)
Even if your have monospace fonts like Operator Mono
is installed in your Windows machine, it will not be listed in Settings.
![No Operator Mono font even if its installed in the machine](/content/images/2023/03/windows_no_font_huf06de5ac49b113ab73328e877fb971a6_40308_500x0_resize_q75_lanczos.jpg)
In this article I will show how you can add monospace fonts which are not listed in Intellij IDEA settings.
First option: install fonts in Administrator mode
FYI: This option does not work in all cases.
You can install the fonts with administrator privilege and it should be done for all users of the system [1]. Like this:
![Install fonts for all users with Administrator privilege](/content/images/2023/03/admin_font_install_hu6d39ec4aa1c674cbbbf4334c9110fb99_67717_500x0_resize_q75_lanczos.jpg)
Then restart the Idea to see if the font is listed in settings.
Second option: copy the fonts to IDEA’s font directory
If previous step does not work for you, then you can do the following steps [2]:
- Copy the
.ttf
or.otf
files of the given font. - Go to
C:\Program Files\JetBrains\IntelliJ IDEA XXXX.X.X\jbr\lib\fonts
directory (Or go to to<INSTALLATION DIR>\JetBrains\IntelliJ IDEA <Version>\jbr\lib\fonts
). - Paste the fonts.
- Restart Intellij IDEA.
Then you should be able to select your font from Settings > Editor > Font
:
![json output](/content/images/2023/03/operator_mono_settings_hua8b0446add866259e221fccc6b6bddfb_50531_500x0_resize_q75_lanczos.jpg)
In conclusion
I hope this article will help you to set up your favourite font in IntellijIDEA or any Idea products.
References:
- https://stackoverflow.com/questions/57216846/font-is-installed-but-doesnt-show-in-the-menu-of-jetbrains-intellij-idea
- https://youtrack.jetbrains.com/issue/IDEA-180897/Operator-Mono-font-is-not-listed-as-a-monospaced-font-on-Windows
Last updated: Jul 13, 2024
I won't spam you. Unsubscribe at any time.