CodingFont: A game to help you pick a coding font
- joch - 129887 sekunder sedanMissing my favorite, Iosevka: https://github.com/be5invis/Iosevka
Playing the game gave me Jetbrains Mono though.
- dylan604 - 133494 sekunder sedanGoing through this, I was introduced to <= being converted to a ligature which immediately ruled it as a nope for me. No monkey business with the characters of my code thank you very much.
- DiabloD3 - 132724 sekunder sedanSomething I never liked about this game is its showing it in your browser at your chosen font size.
Chrome (assuming you're using Chrome) draws it a specific way. This does not match how Freetype (using typical tuning) or DirectWrite draws it. Chrome's choices in font renderer tuning and blending makes it kind of split the difference between Windows-style and OSX-style, and isn't native to either.
What it should be doing is showing you lossless screenshots of actual in-app renders at different sizes. Some in Chrome (to represent the Electron apps), some in DirectWrite, some in OSX post-Retina, etc.
Some fonts look amazing at larger sizes, but are unreadable at smaller ones. Some perform exceptionally well at smaller sizes. Some look great on every font renderer but OSX's, but some only look right on OSX and look bad everywhere else.
I've sorta played this game with myself, in a semi-objective way: take a bunch of fonts, ignore the subjective art nature of them, and throw them at a bunch of common renderers and see what the optimal size is, and then sort by smallest legible size.
If we define Fira Code, the most popular code font out there, as the bare minimum, 8 of the ones I tested beat it, while 17 were worse.
https://github.com/Diablo-D3/dotfiles/blob/master/fontsizes....
- torgeros - 136501 sekunder sedanKnowing that everything in here is people asking why their font is missing: I highly recommend having a look at
[ MAPLE MONO ]
(on Github https://github.com/subframe7536/Maple-font). It has amazing readability, looks nice, is compatible with NF if you use that. I received compliments from people looking over my shoulder for my f'ing font?! Huge shoutout to subframe7536 ^^
- proxycon - 129506 sekunder sedananother comment about favourite font missing: departure mono
- sedatk - 138485 sekunder sedanBerkeley Mono, Iosevka, and Cascadia Code are missing which are my favorite fonts. The game handed me Roboto Mono instead.
What I noticed while playing was that when fonts are similar, I really pay attention to the rendering of "m" and "r". When they look off, the whole font looks off to me.
- sodimel - 146951 sekunder sedanMy coding font is comic-shanns-mono, here's how it looks: https://github.com/jesusmgg/comic-shanns-mono?tab=readme-ov-...
- delecti - 139283 sekunder sedanI clicked this link with the thought "I'm curious, but I don't think I really have strong opinions about fonts", and was almost immediately proven wrong with the revulsion I felt at Xanh Mono.
Though it turns out that VS Code default (Droid Sans Mono) is (to my eye) basically identical to my winner (Roboto Mono), so the exercise was mostly academic.
- KronisLV - 144273 sekunder sedanNowadays I use a lot of Iosevka. Previously I was on Ubuntu and JetBrains Mono, both are great fonts. A bit of PT Mono as well, even Terminus for a bit. One of my favorites has got to be Liberation Mono though - the most readable font I’ve ever found, even if Iosevka lets me put more stuff on screen horizontally. Oh also I’ve started enjoying Cascadia Code recently, surprisingly pleasant.
- JasonSage - 147600 sekunder sedanI enjoyed this, though my font preferences are pretty stable.
It would be nice if it showed you 1st, 2nd, semi-finalist, quarter-finalist...
It would also be nice to see progress of some kind, a few minutes in I was wondering if I was near completion or just getting started.
- akarlsten - 140387 sekunder sedanCool, obviously a lot of people are going to quibble about the default lineup (wheres Iosevka?) but for anyone who hasn't nailed down a preference it seems great!
- manbitesdog - 132897 sekunder sedanThat's very nice and I ended up with the same font I tend to use (Source Code Pro) vs the font I used before (Noto Sans Mono). Some features I'd love to see:
- An ELO-based version with many more variables, so that I can open the site from time to time and find more nice fonts
- Some global stats
- Not losing the leaderboard after reloading
- Spline Sans Mono
- dlvhdr - 131552 sekunder sedanNo Commit Mono :( The GOAT - https://commitmono.com/
- aquir - 146774 sekunder sedanFor me it's Berkeley Mono...I was unable to find anything that comes close to it. But this games is fun and the result is a font that is similar to my favourite
- mosburger - 142434 sekunder sedanI got Source Code Pro. My daily driver is currently 0xProto, but I didn't see that in the game (admittedly I think it's kinda rarely used).
- regus - 146848 sekunder sedanAs I get older I prefer the text on my screen to be bigger than usual. Most websites tend to have super small fonts for some reason.
For coding I much prefer fonts that are bold and easier to read. Who actually likes these whimsical cursive looking comments or super thin looking fonts?
I ended up with "Roboto Mono" btw.
- keithxm23 - 145990 sekunder sedanI'd love to see a page which tracked stats for what the majority of users were picking
- ale - 145753 sekunder sedanI stopped looking for fonts after I got comfortable tweaking the metric settings of Iosevka. My current setup exports a set of really compressed cuts (more compressed than Pragmata Pro) which I've always found hard to come by.
- rbanffy - 131759 sekunder sedanSadly, IBM 3270 is missing from the lot. How can I write professional looking code that lasts a lifetime in anything less?
I also remember some nice ones designed to look like a smoothed VT-220 one.
- 0x457 - 142507 sekunder sedanSurprised that I picked Oxygen Mono over Noto, but probably because I wasn't aware of Oxygen.
Would be nice to be able to play it with my own fonts because some got eliminated purely because 0 (zero) looked like O (letter). Fira Code was a winner only because there weren't paid fonts that I use.
- coldcity_again - 140197 sekunder sedanI got PT Mono in the game, but this gave me the kick I needed to remember about ProggyClean[1] and track it down. Used to love it many years ago, time to give it another spin and see if it holds its own.
There's a vector version[2] now too!
[2]: https://github.com/bluescan/proggyfonts/tree/master/ProggyVe...
- flkiwi - 133210 sekunder sedanIt's ... weirdly validating that what I ended up with is what I actually use (Source Code Pro).
- ghosty141 - 133933 sekunder sedanOh this is really cool, I did it and I landed on the font I've been using for years now: "Fira Code".
- chungy - 147382 sekunder sedanOne nit about the site: the screen elements forced me to make my browser window more than half the size of my screen, and I use a 3840×2160 monitor. My windows are normally about ⅕ the size of the screen and roughly 4:3 ratio shaped. It was nearly unusable like that (I don't suffer issues from almost any other site.)
On the game/bracket: it narrowed me down to Noto Sans Mono and I'm honestly not surprised, it's one of the few fonts that comes with my operating system that I find acceptable.
That being said, what I actually have my terminal and Emacs set to is “AcPlus IBM VGA 8x16” from https://int10h.org/oldschool-pc-fonts/. I've always been fond of the VGA font and it tickles all the right usability marks for me.
- cafebabbe - 130719 sekunder sedanAaah, Ubuntu Mono, i found you, you little rascal
- deepriverfish - 142339 sekunder sedanA few years ago I found comic mono and monofur for Powerline. I switch between the 2 when I get bored of one or the other. I decided I won't try any new fonts, it's a waste of time for me and I hate having too many options to choose from, not only fonts but basically everything else too, it's distracting. Same for my editor's theme, I switch between Braver's Solarized Light and Radical.
This way I can focus on coding and less on tweaking my environment.
- tmtvl - 135638 sekunder sedanThe font I use, IBM Plex Mono, I chose not because I love the font, but because it's the one I love most of the fonts with CJK variants (which basically means IBM Plex, Google Noto, or Adobe Source). It's unfortunate because I really like Libertinus (a rare serif monospace font), but trying to match different non-CJK and CJK fonts that work well together is annoying.
- lemontheme - 136934 sekunder sedanLately I've taken to Iosevka, the 'curly' variant to be precise. Even though I hated it when I first tried it, I revisited it because I was noticing that, with coding agents running in the same window, I wanted to be able to see more at a glance. With Iosevka's semi-width glyphs you can just fit a lot more in the same space. Took a day or two to get used to its slender appearance. Now every other font feels unnecessarily w i d e
- efortis - 134839 sekunder sedanIf you prefer proportional fonts, here's one that pads a 1/3 of a space before uppercase letters, so it makes camelCase more legible.
- timeinput - 145662 sekunder sedanIBM Plex Mono -- I guess no one ever got fired for choosing IBM?
- thetwentyone - 139089 sekunder sedanI wish it had my favorite in it so that I could do a blind test to see if it really is my favorite: https://juliamono.netlify.app
- BruceEel - 144135 sekunder sedanWell, Atkinson Hyperlegible Mono ... - thank you!!!
- michaelcampbell - 133721 sekunder sedanFun. Interestingly the one that "won" for me isn't the one I normally use, which was one of the candidates, but I have used it a lot in the past.
- quibono - 133135 sekunder sedanNothing comes close to Iosevka for me, after using it for a while it's hard to find the same mix of narrow+readable.
- nikitadotla - 145144 sekunder sedanUbuntu Mono. I have been using JetBrains Mono for last 2 years and surprisingly I rejected it in a second iteration.
- eahm - 132079 sekunder sedanI always end up with Consolas, Ubuntu Sans Mono and Hack.
- oneneptune - 138689 sekunder sedanCourier Prime won for me, I've always been a courier fan I guess because I wrote all my books in the 90s with it..
- gkhartman - 136225 sekunder sedanNeat educational game. Would have liked to see Maple Mono in the line up, but I'm sure you've gotta draw the line somewhere or the game would be too tedious.
- Surac - 145502 sekunder sedanSource Code Pro was my winner in this test. I use Iosevka on a regular base
- foresto - 131894 sekunder sedanNeat.
I wish the sample text included _underscores_, since I have occasionally found that they disappear with certain combinations of font + size + renderer.
And a run of all the numeric digits 0123456789, to show how their heights align.
And [square brackets], to show how easily they are distinguished from certain other glyphs.
And the vertical | bar, for the same reason.
...
Adobe Source Code Pro and Ubuntu Mono were my finalists. I think my preference would come down to window and font size, since Ubuntu Mono seemed to be narrower and leave more space between lines.
(Also, I kind of rushed the first few comparisons, so it's possible that I prematurely eliminated a typeface that I would have liked more.)
- starkparker - 141121 sekunder sedanI already use Inconsolata but had customized it to a point where I didn't recognize it here. It won anyway. Validation!
- stared - 139462 sekunder sedanI like, as it is quick to decide, and you can see font names afterwards (some indeed looked similar).
At the same time, it would be wonderful if window sizes were more consistent (now things are obstructed, with scrolling, etc). And I would love to download the ranking graph!
- lordgrenville - 137232 sekunder sedanNice idea, would be good to add a third option for "these look indistinguishable" (and then I guess they could be bundled together in later stages).
- davidpfarrell - 139861 sekunder sedanBecause I'm lazy, and forgetful, I went back to my comment from a previous time this was posted:
* https://news.ycombinator.com/item?id=42554715
Results: Roboto Mono !
- adityamwagh - 132646 sekunder sedanMy favourite one is Iosevka Extended.
- genpfault - 147341 sekunder sedanDoesn't seem to serve rendered samples so you have to set "browser.display.use_document_fonts" to "1" to see anything useful.
- embedding-shape - 147655 sekunder sedanDoesn't it kind of default the purpose if you can't see it in the actual environment you'd be using it? I know the differences are very minor between terminals and browsers when it comes to font rendering, but this seems like a tool that should be a plugin with the editor people are intending to use the font with, rather than a website.
- tasuki - 132260 sekunder sedanThere are some good choices, but also some atrocious ones. My favourite coding font[0] is missing.
[0]: https://www.recursive.design/ and also available on Google Fonts[1]
- vindex10 - 137787 sekunder sedanThanks! A lot of fun!
I'm using Liberation Mono, and it's missing :( i got PT Mono though.
- abound - 146886 sekunder sedanObligatory shout-out to Berkeley Mono [1], which understandably isn't on this site because it's a paid font. I really enjoy the customizer that comes with it, I use the font on all my terminal/IDE environments, as well as on my blog.
(FWIW, I just did the codingfont bracket and got Source Code Pro, which I've used in the past, along with Iosevka and Commit Mono)
- croemer - 145407 sekunder sedanPlayed it twice to see if it's reproducible. First time, Fira Code; second time Source Code Pro. Source Code Pro came in second first time round as well. Been using Fira Code until now.
- delta_p_delta_x - 146812 sekunder sedanThis kind of breaks for me because I identify all the familiar fonts quite quickly—Consolas, Inconsolata, Iosevka, JetBrains Mono, Fira Mono/Code, Menlo, SF Mono, Courier...
- stephc_int13 - 146937 sekunder sedanGot Jetbrains Mono. Not a surprise as I used this font for a long time and I still use it for my terminal font.
But I prefer (and use) PragmataPro (not free) and it is not part of the test, sadly.
- phplovesong - 144470 sekunder sedanBeen running Berkeley Mono for years. Before that i flipped fonts and theme like every week. I sometimes wish you could not change font or color theme at all.
- dmd - 138546 sekunder sedanI was pleased to find that I chose the font I actually use.
- ranger_danger - 146009 sekunder sedanFira Code for me.
- diehunde - 139398 sekunder sedanDid the whole thing. I got IBM Plex. Actually looks great
- yoyohello13 - 143235 sekunder sedanEvery time something like this comes up I always end up with JetBrains Mono.
- airstrike - 137188 sekunder sedanplease add TokyoNight and its variants. I can't imagine using any other theme!
- hrimfaxi - 143320 sekunder sedanThis is like an eye test for choosing a font, great idea!!
- Levitating - 140193 sekunder sedanI got Cuisine, I was trying to get Hack.
- krunck - 137883 sekunder sedanRoboto Mono for the win.
- vova_hn2 - 143838 sekunder sedanIs it weird that I look at most of the offered pairs and think "meh, both are ok, I guess", but do not feel any preference one way or the other?
Like, some fonts look to weird/unusual that I dislike. But most look just fine and I don't really care.
Am I weird? Do I lack taste?
- gnarlouse - 138813 sekunder sedanI got Anonymous Pro
- - 144980 sekunder sedan
- varispeed - 143479 sekunder sedanMine is Red Hat Mono, but really I don't like any of the presented fonts.
- wang_li - 144512 sekunder sedanSerifs so I and l look different, monospace so it's possible to use spaces for alignment, and a slash or dot in the zero. What else do I need?
- ChrisArchitect - 144574 sekunder sedanSome previous discussion including a Show HN: from the dev:
- j45 - 137621 sekunder sedanThis was a pleasant surprise to enjoy, I was surprised to discover a font I wasn’t aware of.
Seeing all the fonts listed here it would be great to be able to add user submissions into the mix.
- nomsters - 146501 sekunder sedanJetBrains Mono. Makes sense
- fortyseven - 138285 sekunder sedanIt works -- by the end I was facing off against my two favorites. ;) I CAN'T CHOOSE.
- bensyverson - 145345 sekunder sedanCan we just talk about how good Source Code Pro is?
- grigio - 140155 sekunder sedanubuntu mono, fira code
- jbverschoor - 142458 sekunder sedanFira Code
- WhereIsTheTruth - 143595 sekunder sedanJetBrains Mono
That's the one i have been using for many years, look like i made the right choice
- cyanydeez - 143682 sekunder sedanI don't need this many rounds to determine it. There should be "neither" to limit the weird fonts that will never fly.
- 0xdeadbeefbabe - 143772 sekunder sedanI'm tired of colors. I wonder if I hate them all or just haven't found the perfect one.
- Arn_Thor - 146676 sekunder sedanRoboto Mono, apparently
- askl - 147187 sekunder sedanWow, some of these are looking atrocious. (Victor Mono, Syne Mono, Nova Mono)
What I'm missing is DejaVuSansMono which is what I'm using. The result of the test was Ubuntu Mono, which looks okay too.
- throwaway613746 - 139799 sekunder sedan[dead]
- wendy7756 - 146582 sekunder sedan[dead]
- i18nagentai - 136532 sekunder sedan[flagged]
Nördnytt! 🤓