id required | string The ID of the font family |
subset required | string Enum: "latin" "latin-ext" "vietnamese" "cyrillic" "cyrillic-ext" "hebrew" "greek" "greek-ext" The subset of the font to retrieve |
weight required | string The weight of the font to retrieve |
style required | string Enum: "normal" "italic" The style of the font to retrieve |
Returns a list of all subsets supported by the API, along with their associated Unicode ranges. This is useful for generating @font-face rules in CSS.
[- {
- "subset": "latin",
- "ranges": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD"
}
]