text Linux Mint和IntelliJ IDEA - 字体设置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Linux Mint和IntelliJ IDEA - 字体设置相关的知识,希望对你有一定的参考价值。

DISCLAIMER: Use the following instructions at your own risk!

Tested with: Linux Mint 17 Cinnamon 64-bit, IntelliJ IDEA 13.1

I. Setup Linux Mint system fonts

1. Execute in terminal:
sudo apt-get install fonts-droid

2. Go to System Settings -> Appearance -> Fonts:
Select the following fonts: Droid Sans/Droid Sans/Droid Sans Mono/Droid Sans Bold.
For fonts settings select Rgba/Full.

II. Setup IntelliJ IDEA fonts:

1. Edit the vmoptions file:
- for 32 bit version: <idea root folder>/bin/idea.vmoptions
- for 64 bit version: <idea root folder>/bin/idea64.vmoptions

Add the following lines at the end of the file:

-Dawt.useSystemAAFontSettings=lcd
-Dswing.aatext=true
-Dsun.java2d.xrender=true

(You probably have the first line already, no need to have it twice.)

2. Download the Oracle JDK for your platform. Some folks don't want to install it, and it is 
NOT NECESSARY to do so. Just extract the tar.gz file somewhere and add the following line
at the beginning of your idea.sh script:

IDEA_JDK=”<extraction folder path>/jdk#.#.#_##″

So, the IDEA itself will run using the Oracle JDK (and its fonts-optimized implementation)
 and your system will continue its use of the installed [Open]JDK.

3. In the IntelliJ IDEA, go to Settings -> Appearance:
Check "Override default fonts by (not recommended)".
Select Droid Sans from the drop-down list.

4. Go to Settings -> Editor -> Colors & Fonts -> Font:
Uncheck "Show only monospaced fonts".
Select Droid Sans Mono from the drop-down list.

5. Go to Settings -> Editor -> Colors & Fonts -> Console font:
Uncheck "Show only monospaced fonts".
Select Droid Sans Mono from the drop-down list.

6. Restart IntelliJ IDEA.

For all settings: select font size that provides best readability on your monitor.

Enjoy!


https://superuser.com/questions/614960/how-to-fix-font-anti-aliasing-in-intellij-idea-when-using-high-dpi

以上是关于text Linux Mint和IntelliJ IDEA - 字体设置的主要内容,如果未能解决你的问题,请参考以下文章

text 在Mac OS / X上创建Linux Mint USB

win10 与linux mint双系统 只能进入mint解决方案

在Linux Mint 19 / Linux Mint 18上安装VirtualBox 6.0 / 5.2

基于Ubuntu和基于Debian的Linux Mint 20新特性一览

sh 为Linux Mint 18.3安装Docker和Docker-Compose

安装Linux Mint 17后要做的20件事