Intellij IDEA字体在linux中平滑 [英] Intellij IDEA font smoothing in 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
orfalse
ordefault
– No anti-aliasingon
– Full anti-aliasinggasp
– Use the font's built-in hinting instructionslcd
orlcd_hrgb
– Anti-aliasing tuned for many popular LCD monitorslcd_hbgr
– Alternative LCD monitor settinglcd_vrgb
– Alternative LCD monitor settinglcd_vbgr
– Alternative LCD monitor setting
这篇关于Intellij IDEA字体在linux中平滑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!