Skip to content

Comment on Fira Code: monospaced font with programming ligaturesparent

Comments

Vim isn't there problem, it's your terminal. There is an open feature request with iterm2, but terminal.app is probably a lost cause. I know nothing about the state of Unicode font rendering in Linux.

Strangely enough, I had Terminal.app listed as not supported (at it wasn’t when I checked).

But checking now, ligatures render just fine. Yay! (that implies console vim & emacs, of course)

It works fine under konsole 15.08.

Konsole is the only terminal emulator I could get it working with, which is annoying because I much prefer rxvt. Konsole does weird stuff with my terminal colors in tmux, so I ended up not being able to use this nice font when I tried it previously.

Have you tried urxvt, by any chance?

Tried to get it at least readable for 15 mins or so and gave up: http://paste.click/msFBVy

Tried all kinds of variations of

    > fnt="xft:Fira code:pixelsize=10:size=15"; urxvt -fn "$fnt" -fb "$fnt" -fi "$fnt" -fbi "$fnt" -letsp -1
Can't get the font spacing to not be massive and the ligatures don't work.

My build is:

    rxvt-unicode (urxvt) v9.21 - released: 2014-12-31
    options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,pixbuf,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm

Edit: Tried hasklig that was mentioned. Ligatures still don't work but the spacing is fine: http://paste.click/cEWQZs

By "rxvt" I meant rxvt-unicode/urxvt. I'm quite fond of it, but it doesn't support glyph ligatures.

What about gVim?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.