braver / programmingfonts

Test drive programming fonts online: the definitive list of fonts for code.
https://www.programmingfonts.org/
MIT License
1.48k stars 93 forks source link

Show number of fonts (variants) included with each typeface #103

Open jocafa opened 3 years ago

jocafa commented 3 years ago

Next to each typeface name, maybe in parentheses and smaller, it would be great to see how many fonts are available or included with each typeface. For example, Fira Code includes: Light, Regular, Medium, SemiBold, Bold, and Retina.

Fira Code (6 fonts) 2014 - Nikita Prokopov

micahcochran commented 2 years ago

Font Manager on Linux calls these Variations. Variations would include font weight, condensed, and italic versions. (Which the last two really don't usually matter for programming fonts, but SourceCodePro includes italics.)

braver commented 2 years ago

To this end I have started to describe the available variants for all the typefaces in the fonts.json file. I'd like to have that information more fully complete before exposing it though, and it's still a bit of a chore to do so. However, anyone wants to contribute be my guest!

braver commented 1 year ago

For an increasing number of fonts, now that variable fonts are a thing and more and more popular, the list of variants is effectively infinite. Instead of recording lists of all the possibilities, some fonts now come with a description of the possibilities. This is simpler, easier to maintain, and more useful to the user: for many fonts you really should just visit the font's website to learn more.