Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Font are not displayed in Idea

After updating jrk7-openjdk and jre7-openjdk fonts don't displaying from the Idea. Reinstalling the packages openjdk and idea didn't help.

uname -a: Linux ftp27host 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64 GNU/Linux

Main

Settings

like image 342
ftp27 Avatar asked Jun 15 '14 07:06

ftp27


People also ask

How do I fix my IntelliJ idea?

From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.

Which font is used in IntelliJ idea?

JetBrains Mono font is used by default for the Editor.

How do I add my own font to IntelliJ?

Customize the console font To use a different font in the console: Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Console Font. Select the Use console font instead of the default checkbox.

How do I change my appearance in IntelliJ?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | Appearance. Select the UI theme from the Theme list: IntelliJ Light: Traditional light theme for IntelliJ-based IDEs.


2 Answers

Thanks, user3745346. I had the same problem with Idea ultimate under ArchLinux. Fixed by changing line

-Dawt.useSystemAAFontSettings=lcd

to

-Dawt.useSystemAAFontSettings=on

in the IDEA_HOME/bin/idea64.vmoptions

like image 120
user3745418 Avatar answered Sep 29 '22 10:09

user3745418


I had the same problem with phpstorm (it's based on idea). I've found a solution by adding:

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'

to my /usr/bin/phpstorm.sh

The file is now:

#!/bin/sh
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
cd /usr/share/phpstorm/bin/
./phpstorm.sh "$@"

I think it will be the same with idea.

like image 30
JoBalk Avatar answered Sep 29 '22 10:09

JoBalk