Open musm opened 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).
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.
Makes sense, thanks for the clarification!
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.
And I won't do anything for Cascadia Code -- it looks ugly.
And I won't do anything for Cascadia Code -- it looks ugly.
How about Fira Code 😄
Perhaps Cascadia code could be a good candidate?