programmingfonts icon indicating copy to clipboard operation
programmingfonts copied to clipboard

Show number of fonts (variants) included with each typeface

Open jocafa opened this issue 3 years ago • 3 comments

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

jocafa avatar Sep 09 '21 04:09 jocafa

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.)

micahcochran avatar Jul 03 '22 04:07 micahcochran

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 avatar Jul 03 '22 09:07 braver

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.

braver avatar Sep 09 '23 20:09 braver