HACKER Q&A
📣 firstSpeaker

What is your default font for coding and terminal?


Recently I saw that there is a thread with some comments on fonts, specially monospaced fonts. I discovered that there are fonts to buy (had no idea about it) and on top of I discovered few of the fonts that some HNers pointed out.

If you are using a special font for the terminal and your IDE, please share some details :)


  👤 kirbyfan64sos Accepted Answer ✓
JetBrains Mono! Used to use Roboto Mono, because I liked how close it was to a standard sans-serif font, but JB Mono is similarly spaced and has the advantage of built-in ligatures and such.

👤 amelius

👤 tcfunk
I've been using FiraCode for a year or so and like it pretty well https://github.com/tonsky/FiraCode

👤 johnmorrison
I've been using JetBrains Mono recently, switching over from SF Mono on MacOS and Fira Code on Windows. SF Mono looks great and Fira Code has nice ligatures, but JBM has the best of both and a really nice shape.

https://www.jetbrains.com/lp/mono/


👤 mklein994
Cascadia Mono/Code, depending if I feel like having ligatures:

https://github.com/microsoft/cascadia-code

It has the option to enable cursive italics, which is disabled by default. Been using it for over a year. No complaints.


👤 t0bia_s

👤 ajross
Grumpy curmudgeon here still using DejaVu (and it's Vera Sans ancestor before that). I'm sure there's lots of good choices, but DejaVu is great, it's everywhere and it's free. Just don't see a lot of value in shopping around.

👤 usr1106
I used to spend a lot of time fiddling with visual properties of my desktop in the past.

Nowadays I just install Xubuntu, add i3 and mostly use it as it is. So the terminal happens to be white on black and the Emacs black on white. I don't think about it, but apply the rule they give for healthier sitting: The next position is the healthiest one (meaning switch often).

I don't even know whether my terminal and my Emacs (main tools besides the browser) use the same font or not. Why would that interest me as long as I can read both? Sometimes when something has changed on a new installation (UI people want to do continuous improvement...) it might look ugly at first. After 3 days I don't notice it anymore. Hardly ever that I would spend any time to change it back as it has always been.

If you present online (other than slides) you should know the shortcuts to change the fontsize. And possibly change your cursor and selection color to make them recognizable for remote attendees.


👤 DHPersonal
I like using IBM Plex Mono. https://github.com/IBM/plexhttps://www.ibm.com/plex/

👤 klavinski
Julia Mono: https://juliamono.netlify.app/

By far the best monospaced font I have seen, discovered on HN. Before that, I used Ligconsolata (Inconsolata with ligatures).


👤 ElectronBadger
Hack. Both in Sublime Text and urxvt terminals. And as a i3 system font. And as a fixed font for Firefox and Thunderbird.

👤 Gualdrapo
I'm forking envypn[0] to make some characters more recognizable or just give them some personality (a and g, for example), and doing a slanted version. Slow process since I'm not using any graphical editor whatsoever but editing it "by hand". Hope to release it soon though.

[0] https://github.com/hicolour/envypn-font


👤 kitsunesoba
For IDEs and text editors, I use Dank Mono[0] 14pt.

On my personal machine, my terminal font is Cozette[1] 13pt, while on my company machine it's Dank Mono[0] 14pt.

In the past I've also used SF Mono[2], Fira Code[3] and Anonymous Pro[4] among others.

[0]: https://philpl.gumroad.com/l/dank-mono [1]: https://github.com/slavfox/Cozette [2]: https://developer.apple.com/fonts/ [3]: https://github.com/tonsky/FiraCode [4]: https://www.marksimonson.com/fonts/view/anonymous-pro


👤 speedgoose
These days, I use Comic Code for coding and JetBrainsMono for the terminal.

https://tosche.net/fonts/comic-code

https://www.jetbrains.com/lp/mono/


👤 nishs
PragmataPro.

https://fsd.it/shop/fonts/pragmatapro/

Modularly spaced and monospaced; true bolds and italics; ligatures. It is more condensed than most system fonts.

The full set is €199, and I've found it worth it. You can buy individual fonts too.


👤 phunehehe0
Quinze https://www.programmingfonts.org/#quinze

I was on a quest to find the narrowest font and Quinze was the answer. It's something like 20% narrower than Iosevka, which is already quite narrow. I love Iosevka but to me nothing beats maximizing the area of the characters (readability) while minimizing their width (fitting more characters on a line). That means sacrificing the number of lines on the screen, which I solve by splitting when needed.

In fact this font is so narrow that when I attempted to force its use in all monospace text in the browser, readability took a hit instead of improving. This is because at the same height Quinze is much smaller than "normal" fonts. In my coding setup I use a huge font size so it's no problem.


👤 glmeece
I've tried a lot of different monospaced fonts, but I've settled on these 3:

IDE:

• Cascadia Mono - https://docs.microsoft.com/en-us/windows/terminal/cascadia-c...

• CaskaydiaCove Nerd Font (as a fallback) - https://github.com/ryanoasis/nerd-fonts/tree/master/patched-...

Terminal:

• Hack Nerd Font - https://github.com/ryanoasis/nerd-fonts/tree/master/patched-...


👤 rvdginste
I used the Terminus bitmap font until a year ago because I found it really clear and sharp even on small sizes. Since bitmap fonts are not that well supported anymore, I switched to JetBrains Mono for both terminal and IDE. I started using JetBrains Mono in my IDEs as soon as it came out.

👤 ofou
Fira Code with ligatures

    brew tap homebrew/cask-fonts
    brew install --cask font-fira-code

👤 TheChaplain
Deja Vu Sans Mono

I've tried many but that one is just unbeatable.


👤 nikanj
My default font is ”whatever they have selected as default”. I’m not nearly competent enough as an UI designer to pick better fonts than the person working for Apple / Microsoft / Jetbrains. I trust their judgement.

👤 ChrisMarshallNY
Terminal: Courier

Xcode (Code editor): Victor Mono Regular (Heard about it here): https://rubjo.github.io/victor-mono/


👤 agnivade
Hack (https://sourcefoundry.org/hack/) in editor, and Monospace Regular in terminal.


👤 yewenjie
Iosevka with Nerd Fonts patched.

👤 majso
InconsolotaGo NF for Terminals and Consolas for IDE

👤 swozey
I use HackGen35 Console it's a composite of Hack and GenJyuu-Gothic. It has a brew cask.

https://github.com/Homebrew/homebrew-cask-fonts/blob/master/...


👤 prirun
My eyesight isn't so hot because of chronic shingles in my left eye. On a 13" 2015 MBP: SF Mono Medium 18pt, antialias disabled, Use bold fonts enabled. Light beige text on a chalkboard green background. Character spacing .911, line spacing 1. Took a bit of experimenting to settle on this but has been great.

👤 rudilee
I use Input sans condensed for all programming languages because I prefer non squeezed display for wide characters, except for Go lang, which I used Input mono condensed instead since the auto formatter use space as comments offsets

https://input.djr.com/


👤 BaudouinVH
B 612 because it was designed for the cockpit of Airbus planes. Would feel even better if it wasn't a google font.

👤 theandrewbailey
Nouveau IBM

https://www.dafont.com/nouveau-ibm.font

Before that, I used Cousine. I probably still do in some places.

https://fonts.google.com/specimen/Cousine


👤 sweettea
Verily Serif Mono (plus a few modifications). I find serif fonts much easier to read, and this one is the most non-monospace-like font I've ever found. (I've modified it to have a visually heavier semicolon and a visually lighter underscore, so my code is easier to read.)

👤 timeon
SF Mono

👤 Wildgoose
Go Mono and also Iosevka (a fairly narrow font). I also historically used Bitstream Vera Sans, (and occasionally still do).

https://fontlibrary.org/en/font/go-mono


👤 Tolexx
I currently use jetbrains font on vscode. It's quite good. The bold font-weight and font-size of 15 are the settings I use.

https://www.jetbrains.com/lp/mono/


👤 ericbarrett
For VS Code: FiraCode with ligatures enabled (yes I'm one of those weirdos)

For the terminal: Inconsolata.


👤 frakt0x90
The only IDE I've every changed the default font in is Teradata SQL Assistant because the comma was one pixel different from the period and it would confuse me constantly. I'm always a little surprised people are so into coding fonts.

👤 tsuujin
Victor Mono. I went through a bunch of fonts recently looking for that right fit and Victor ended that search nicely.

https://rubjo.github.io/victor-mono/


👤 wodenokoto
Super boring answer, but …

On Mac: the Apple one.

On PC: the VS Code one.

They are pleasant to look at. I never have l1I problems and I don’t think ligatures are appropriate in monospace scenarios as I find it quite important for me as a reader of code to know what each individual character is.


👤 grafelic
Dina Font, always Dina Font https://www.dcmembers.com/jibsen/download/61/

👤 Toutouxc
I'm just posting this for all of us who don't care one bit or are content with the defaults. :)

I know an ugly font when I see one, but whatever JetBrains IDEs, macOS' Terminal and Xcode use is fine by me.


👤 amelius
Offtopic.

Something seems wrong with HN.

My newest comments don't show up under "threads".

And curiously when I click on "threads" my karma counter is a few points lower than when I click on a random comment thread.


👤 not_a_throwaw12

👤 anon2020dot00
Consolas looks good and is the default for VS code on Windows


👤 valbaca
macOS, iTerm, Menlo

Menlo isn't the perfect font, but it's good enough and I wasted way too much time trying to find the perfect font. So to force myself from fiddling with fonts, I just stick with Menlo (This is also the same reason why I prefer macOS over Linux for my OS: forces me to fiddle less with customization because it has less).

JetBrains Mono is quite nice as well. I don't always switch it off when using JetBrains products.


👤 GNOMES
Huge fan of Ubuntu Mono (UbuntuMono Nerd Font Mono)

👤 ha1zum
D2Coding by Naver, it's a narrow font but not looking crazy like other narrow fonts

👤 rav3ndust
Terminal: Alacritty Font: Envy Code R

A nice combination in Vim on my minimal Arch setup.


👤 platz
How does PragmataPro vs Iosevka compare?

I use Iosevka, but am curious about PragmataPro


👤 Hamuko
ProFontIIx for terminal, Source Code Pro for text editor.

👤 hprotagonist
Menlo or something that looks like it. I’m pretty boring.

👤 btach
I've been pretty happy with Fantasque Sans Mono.

👤 sys_64738
Whatever the default Windows Terminal font is.

👤 DaveYoakum
Monaco. I’m old.

👤 lackbeard
Menlo on MacOS, Ubuntu Mono on Linux.

👤 ElSinchi
Hack font https://sourcefoundry.org/hack/

Thread closed


👤 dschuessler
I settled on SF Mono long ago.

👤 vermaden
I usually switch between these:

- Consolas

- IBM Plex Mono

- Monaco

- Monofur

- Ubuntu Mono

- -*-clean-*-*-*-*-*-*-*-*-*-*-iso8859-2


👤 LarryMade2
my terminal font is OCR-A gotta have that retro-tech style.

👤 m0llusk
Courier 10 pitch

👤 aeyes
Source Code Pro

👤 maxhille
Fantasque Sans

👤 polyterative
Pragmata Pro

👤 jart
Pragmata Pro

👤 jaskyle
Comic Sans

👤 None4U
Iosevka