April 14th, 2023
If you're a developer who spends a lot of time coding in JetBrains products like IntelliJ IDEA, WebStorm, or PyCharm, you know how important it is to have a font that's easy on the eyes and makes your code look great. One font that's become increasingly popular among developers is Operator Mono - a beautiful, monospaced font designed specifically for coding.
In this blog post, we'll walk you through how to use Operator Mono in JetBrain products on a Windows machine.
First, you'll need to purchase the Operator Mono font. It's a paid font, but many developers find it worth the investment. You can purchase it from the Hoefler & Co. website.
Once you've purchased the font, you'll need to install it on your Windows machine. To do this, simply double-click the downloaded font file and click the "Install" button.
Next, you'll need to add the Operator Mono font to your JetBrains products. For some reason, it is not enough to install the font on Windows. You will then not see the font in the font selection dropdown in PhpStorm, for example. Here's how I fixed it:
Copy the Operator Mono font files (either .ttf or .otf) to the following directory: C:\Program Files\JetBrains\PhpStorm 2021.2.2\jbr\lib\fonts
This directory is for PhpStorm on my machine. It could be different for other products.
Open your JetBrains product and go to File > Settings (or Preferences on a Mac).
In the left-hand panel, select "Editor" and then "Font."
Click on the ellipsis button ("...") next to the "Primary font" dropdown and select "Add Fonts."
Select the Operator Mono font from the list of available fonts.
Click "OK" to add the font to your JetBrains product.
Finally, you'll want to adjust the font size and line spacing to your liking. Here's how:
In the "Font" settings window, adjust the "Size" dropdown to your preferred font size.
To adjust the line spacing, click on the "Line spacing" dropdown and select "Custom."
Enter a value for your desired line spacing.
Click "OK" to save your changes.
And that's it! You should now be able to use the beautiful Operator Mono font in your JetBrains products on your Windows machine. Happy coding!