Live data from Hacker News

Lesser Known Coding Fonts

vfoley.xyz

151–160 of 250 posts

Re: Lesser Known Coding Fonts

#152

The 3 main things I look for in a "coding font" are whether I can differentiate between i,I,l,L,1 and 0,o,O characters, whether or not it is readable at tiny font size (7px to 9px range on my display) and that it is a monospaced font. first and second are nice to have in any font. For over 4 years I have sworn by the excellent Fira Mono font by Mozilla more specifically FiraCode (variant with added ligatures), before…

I like Fira Code but it has too much flare for me. Microsoft recently came out with Cascadia Code which fits my bill. I don't know if it fits yours. It looks like you've already found your solution but I thought I'd pass this along anyway. https://github.com/microsoft/cascadia-code/releases

I looked at the issues page and was not surprised that Microsoft, in its Seattle-centric view of the universe, did not cover many international glyphs.

Any comment on how many of these coding fonts suffer these issues? I am glad to see the screenshots in the article at very least thought to include Greek.

Re: Lesser Known Coding Fonts

#154

Earlier quoted context omitted.

For ~6 months I used Comic Sans as my single font system-wide - like, for everything. Everywhere in the system UI, code, even on webpages (Firefox lets you disable CSS font selectors). The only exception was the terminal, which got messed up with non-monospaced fonts. It was actually surprisingly great. Then as soon as I got a 4k monitor Comic Sans started to look very ugly - if not for that, I would still be using i…

If you liked that, then you may get a kick out of Comic Code, a fixed width variation of Comic Sans designed for coding: https://www.myfonts.com/fonts/tabular-type-foundry/comic-cod... I've been using it for a few months and really enjoy it!

See also: Comic Shanns

https://github.com/shannpersand/comic-shanns

Re: Lesser Known Coding Fonts

#155
Surprised nobody has mentioned PragmataPro

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

Probably the most complete and polished programming font I've seen. If you like Iosevka, you'll love PragmataPro.

I've been spoiled by Iosevka and PragmataPro's narrow characters, so now I can never go back to "normal" programming fonts...

Re: Lesser Known Coding Fonts

#156
post #47

I have tried lots of different coding fonts for fun (and when I change fonts, it just feels like using a brand new computer :-)), but my go-to font when I just don’t want to think what I’m gonna using is SF Mono, from the San Francisco fonts by Apple[0]. It blends well with the macOS system fonts, and it’s great. [0] https://developer.apple.com/fonts/

SF Mono is awesome. Using it for a long time. The link you posted https://developer.apple.com/fonts offers to download and install .dmg -> .pkg. I usually install SF Mono via /Applications/Utilities/Terminal.app/Contents/Resources/Fonts. This folder contains all SF Mono fonts in .otf format. If you open them and install, it vill be available everywhere. You can copy those files and install it on Windows or Linux comp…

FYI If you just want to change the 'monospace' font in Chrome, you can do that from chrome://settings/fonts and don't need an extension (I changed it from Courier New to something nicer as well).

Re: Lesser Known Coding Fonts

#157
post #91

I'm a big fan of https://github.com/belluzj/fantasque-sans/ the characters make me happy every day :)

i used it for long time, got exposed to go-mono from this list, serif for code, giving it a try

Huge fan of Go Mono. I was taken aback at first at the idea of a monospace serifed font, but after trying it out I've come around to appreciate the clarity of it.

Re: Lesser Known Coding Fonts

#158

The 3 main things I look for in a "coding font" are whether I can differentiate between i,I,l,L,1 and 0,o,O characters, whether or not it is readable at tiny font size (7px to 9px range on my display) and that it is a monospaced font. first and second are nice to have in any font. For over 4 years I have sworn by the excellent Fira Mono font by Mozilla more specifically FiraCode (variant with added ligatures), before…

Why tiny font sizes, out of curiosity? Do you typically use those font sizes, or is that just a handy measure of readability? I'm all for fitting a lot of content on the screen, but I don't go as far as shrinking font size to the minimum I can read.

Good question, Although the numbers are almost arbitrary there are a couple of reasons:

-- when looking at logs, database dumps or large forigen text files in general, it is often convenient for me to set the font to a smaller size in order to get better context from surrounding text and for this purpose, I need the font to be able to facilitate my workflow regardless of size and resolution of my current display.

-- Although I no longer use mini map like features of text editors (in part due to the novelty wearing off and in part due to my move away from VS Code as my primary IDE/Editor to Neovim), such fonts make the mini map almost readable on large high resolution displays (which again, provides better context for the code I am editing).

-- It is a handy measure of readability. If the font is readable at that size then it has good geometry and can be used on most low resolution displays (it is a range I came up with after experimenting with a 768p 15.6" laptop display) as previously mentioned sometimes it is handy to be able to lower the size in order to get a better view of the context.

Re: Lesser Known Coding Fonts

#160

The 3 main things I look for in a "coding font" are whether I can differentiate between i,I,l,L,1 and 0,o,O characters, whether or not it is readable at tiny font size (7px to 9px range on my display) and that it is a monospaced font. first and second are nice to have in any font. For over 4 years I have sworn by the excellent Fira Mono font by Mozilla more specifically FiraCode (variant with added ligatures), before…

I like Fira Code but it has too much flare for me. Microsoft recently came out with Cascadia Code which fits my bill. I don't know if it fits yours. It looks like you've already found your solution but I thought I'd pass this along anyway. https://github.com/microsoft/cascadia-code/releases

Thanks for the suggestion, I did not know about Cascadia Code. I am a big fan of Consolas font but it is proprietary so I had to look for something better which lead me to discover Fira Mono. I personally really like its design choices, that is why I have been using it for so long also the fact that it is floss font is a huge plus, and If by flare you mean the ligatures then Fira Mono (the original font without the patched in ligatures) might interest you, then again if it has too much flare for you then that is that because font preference is subjective.
Post reply on HN