eclipsefontsjetbrains-font

Is it possible to use an external font in Eclipse?


I want to change the font in Eclipse IDE (to JetBrains Mono).

Here is what I tried:
Window > Preferences > General > Appearance > Colors and Fonts > Java > Java Editor Text Font > Edit... > Show more fonts

However, this just brings you to the Windows font settings, rather than actually allowing you to import a font. It seems as if the "Show more fonts" link (see below) is redundant.

Is there a workaround?

enter image description here


Solution

  • Yes. Fonts are made available to apps such as your IDE (Eclipse) through the host operating system.

    1. Install the font into the host OS. Download the font zip from the page you linked, unzip the file, right-click on the .ttf you intended to use, and pick the option to Install.
    2. Restart your IDE, or perhaps your computer, if necessary.
    3. Choose your desired font in the settings of your IDE.

    For more info:

    See also the instructions for your desired font, JetBrains Mono.