google / google/fonts

A way to determine which fallback font to use

Open
#2,477 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

I am fetching the list of all the fonts containing the meta-data but I notice that it doesn't contain which fallback values one should use for each font... Is there any way to make a good guess of what fallback font should be used? For example for `Akronim` the fallback in the googlefont page is `cursive` but in the API that fetches all the fonts, there is no mention of `cursive` in the `Akronim` entry... currently I just use the category as the fallback which in this case will be `display` but i would like to use the fallbacks that google font itself uses for each of its font. Is there any way to determine that?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.