add font to phpstorm
#COPIED FROM STACK OVERFLOW
https://stackoverflow.com/a/43407710
There is no need to add fonts to the IntelliJ IDE directly. You should install the font to your OS.
For Ubuntu:
Download the font (e.g. .otf),
Unzip it,
and then install by double-clicking on the font file and push 'install' btn,
or alternatively: put your fonts in /usr/share/fonts/opentype and update the fonts cache with sudo fc-cache -f -v
For the Windows:
Open the Windows Control Panel.
Select Appearance and Personalization.
At the bottom, select Fonts. ...
To add a font, simply drag the font file into the font window.
To remove fonts, just right click the chosen font and select Delete.
Click Yes when prompted.
Go to the PhpStorm (or whatever IntelliJ) Settings -> Fonts, and remove a tick from the 'Show only monospaced fonts' checkbox.
Then you'll see a full list of fonts of your system in the dropdown below. If there is no your installed font, you should restart your IDE and repeat the 3-rd step.
Enjoy ;)