Intellij IDEA字体在linux中平滑 [英] Intellij IDEA font smoothing in linux

查看:783
本文介绍了Intellij IDEA字体在linux中平滑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Arch Linux上使用IntelliJ IDEA和KDE。 OpenJDK版本是1.7.0_40。

I'm using IntelliJ IDEA on Arch Linux with KDE. OpenJDK version is 1.7.0_40.

整个IDE字体(包括代码编辑器)在没有任何抗锯齿和字体平滑的情况下呈现。我将 idea.properties 文件 idea.use.default.antialiasing.in.editor 设置为 true ,并添加在 _JAVA_OPTIONS 变量 -Dawt.useSystemAAFontSettings = on -Dswing.aatext = true 没有任何影响。

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?

推荐答案

在这里查看。我记得在运行IDEA时遇到了同样的问题,但在添加了wiki中提到的行之后问题就消失了。

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 =设置'
其中设置可能


  • off false 默认 - 没有抗锯齿

  • on - 完全消除锯齿

  • gasp - 使用字体的内置提示说明

  • lcd lcd_hrgb - 针对许多流行的LCD显示器进行了抗锯齿调整

  • lcd_hbgr - 替代LCD显示器设置

  • lcd_vrgb - 替代液晶显示器设置

  • lcd_vbgr - 替代液晶显示器设置

  • off or false or default – No anti-aliasing
  • on – Full anti-aliasing
  • gasp – Use the font's built-in hinting instructions
  • lcd or lcd_hrgb – Anti-aliasing tuned for many popular LCD monitors
  • lcd_hbgr – Alternative LCD monitor setting
  • lcd_vrgb – Alternative LCD monitor setting
  • lcd_vbgr – Alternative LCD monitor setting

这篇关于Intellij IDEA字体在linux中平滑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆