Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
musm opened this issue Oct 20, 2020 · 6 comments
Open

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

musm opened this issue Oct 20, 2020 · 6 comments
Assignees

Comments

@musm
Copy link

musm commented Oct 20, 2020

Perhaps Cascadia code could be a good candidate?

@kiwi0fruit
Copy link
Owner

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 kiwi0fruit changed the title Any chance for more monospace chains? List of fonts compatible with DejaVu Sans Mono Oct 20, 2020
@kiwi0fruit kiwi0fruit self-assigned this Oct 20, 2020
@kiwi0fruit
Copy link
Owner

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.

@kiwi0fruit kiwi0fruit changed the title List of fonts compatible with DejaVu Sans Mono List of fonts compatible with DejaVu Sans Mono / Consolas Oct 20, 2020
@musm
Copy link
Author

musm commented Oct 20, 2020

Makes sense, thanks for the clarification!

@kiwi0fruit
Copy link
Owner

kiwi0fruit commented Oct 20, 2020

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
Copy link
Owner

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

@musm
Copy link
Author

musm commented Dec 8, 2021

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

How about Fira Code 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants