I'm using IntelliJ IDEA on Arch Linux with KDE. OpenJDK version is 1.7.0_40.
Whole IDE fonts (includes code editor) are rendered without any antialiasing and font smoothing. I set in idea.properties
file idea.use.default.antialiasing.in.editor
to true
, and added in _JAVA_OPTIONS
variable -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
without any effect.
What else I can try to enable font smoothing?
The newer gnome desktops dont have a direct option to change the fonts. Use a tool like gnome-tweak-tool and change the fonts. Gnome with the default Ubuntu Font at size 11pt. Gnome with tweaked Droid Fonts at size 10pt.
If you need to quickly change the font size while in the editor, press Ctrl+Alt+S 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.
JetBrains Mono font is used by default for the Editor.
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.
Take a look here. I remember having the same problem when running IDEA, but after adding the line mentioned in the wiki the problem goes away.
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=setting'
where setting
may be
off
or false
or default
– No anti-aliasingon
– Full anti-aliasinggasp
– Use the font's built-in hinting instructionslcd
or lcd_hrgb
– Anti-aliasing tuned for many popular LCD monitorslcd_hbgr
– Alternative LCD monitor settinglcd_vrgb
– Alternative LCD monitor settinglcd_vbgr
– Alternative LCD monitor settingIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With