terminus font Follow
Answered
Hi
Im trying to get terminus font to work in intellij for debian linux, in particular the xfonts-terminus and console-terminus debian packages.
Preview: http://lh4.ggpht.com/_1QSDkzYY2vc/TEXNWZxFGTI/AAAAAAAABik/e8IzixdTyiE/s800/font-terminus.png
I have read multiple posts and advice on how to add fonts to intellij but have failed to make terminus work.
Any advice or experience to share?
Cheers,
-Kristoffer
Please sign in to leave a comment.
Hi Kristoffer,
There is nothin IJ-specific in font management, it uses standard java facilities for that. Basically, all you need to do is to properly install the font at the OS.
Regards, Denis
Thanks for your quick answer.
The font _does_ work in in any application use it in like the eclipse, terminal, emacs, xfce window manager, etc.
But it does not show up as an option in ij and I dont understand why? Im wondering if it has anything to do with the JDK maybe?
Try to uncheck 'monospaced' box at the ide font settings and check if that makes the font appear:

Denis
Yes, I tried that, but it doesnt work.
IJ uses GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames() for retreiving available fonts, so, you can create a simple java application which performs the same and check if the font is listed there. I have a strong suspicion that it doesn't, hence, you can try to tweak your java setup in order to make the font discoverable by it - http://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
Denis
Thanks again Denis. I will try this during the weekend and see if I can get it to work.
Cheers,
-Kristoffer
Did you succeed?
Nope. But I havent tried release 14 and neither Java 8 so that is worth a try.
Good news, you can use Terminus in Intellij by installing the TTF conversion: https://files.ax86.net/terminus-ttf/
Thanks for sharing!