kiwi0fruit / open-fonts

A collection of beautiful free and open source fonts: instructions for installing, Unicode fallback chains, instructions to replace Windows ClearType and fix browser fonts
Other
47 stars 4 forks source link

List of fonts compatible with DejaVu Sans Mono / Consolas #29

Open musm opened 4 years ago

musm commented 4 years ago

Perhaps Cascadia code could be a good candidate?

kiwi0fruit commented 4 years ago

Well. Yes and No. I guess I won't add new fonts that I don't like to the python package. I also won't support fallback chains incompatible with DejaVu Sans Mono. But. Actually Roboto Mono, Inconsolata Sugar and Source Code Pro all can use the same fallbacks.

I guess it worth writing about in a dedicated section. If a font can have DejaVu Sans Mono as a fallback (it means that either it's completely metrically compatible or it is proportional and browser resize makes it fit) then it can use all fallbacks from Roboto Mono.

Somebody can check fonts and make a list with info if they are metrically compatible / proportional with Roboto Mono fallbacks (knowing this distinction can be useful for non-browser applications). I won't do this now but you are welcome to make PR (or provide info here).

kiwi0fruit commented 4 years ago

And as of now lots (most?) of the fonts try to be compatible with DejaVu Sans Mono so that they can use its wide Unicode coverage for fallback.

IIRC: Fira Code, IBM Plex Mono, Menlo are compatible with DejaVu Sans Mono. There are more for sure. You can check yourself.

musm commented 4 years ago

Makes sense, thanks for the clarification!

kiwi0fruit commented 4 years ago

Oh. And I guess fonts that are compatible with Consolas are also good to add. As I already maintain Consolas fallbacks. Cascadia Code really might be compatible with Consolas. Worth checking.

kiwi0fruit commented 4 years ago

And I won't do anything for Cascadia Code -- it looks ugly.

musm commented 2 years ago

And I won't do anything for Cascadia Code -- it looks ugly.

How about Fira Code 😄