开发者

intellij linux fonts

开发者 https://www.devze.com 2023-03-28 08:58 出处:网络
I am having an issue getting intellij to detect installed fonts on ubuntu 10.4. The fonts are in ~.fonts and eclipse is able to det开发者_JAVA技巧ect them correctly and I restarted and stuff, soI\'m

I am having an issue getting intellij to detect installed fonts on ubuntu 10.4.

The fonts are in ~.fonts and eclipse is able to det开发者_JAVA技巧ect them correctly and I restarted and stuff, so I'm not sure what's going on here...

Thanks.


Make sure that the fonts you are trying to use are Unicode and Monospace, as IDEA will not list other fonts by default. See also this issue.


If you use a recent openjdk it should mostly be able to access the same fonts as other apps (eclipse has an intrinsic advantage since it uses gtk, a native linux widget toolkit, via swt, and gtk knows where linux fonts are installed).

Native java UIs like intellij depend on how well the jvm is integrated with the system text stacks, which is not well at all for anything < java 1.7, since SUN used proprietaty text components long after their due date, in the name of stability, and because it was going broke and chose to ignore infrastructure problems that required time, money and energy to fix.

0

精彩评论

暂无评论...
验证码 换一张
取 消