google / google/fonts

Disable Latin subset

Open
#2,230 2 comments 6 reactions 0 assignees View on GitHub
I API / Website / Platform
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

I understand that by providing `unicode-range`, it makes sure that the all the characters on a single page are served by the fonts, with smaller subsets just downloading the required chunks.

It's a really nice system, but I was wondering if there was a way of excluding a certain subset? In my use case, I'd like to exclude the Latin subset.

That would let me more elegantly fall back to another typeface without downloading them all, manually subsetting, and hosting them.

I'm imagining something that could be requested with an `exclude-subset` url param.

So you'd use something like: `"https://fonts.googleapis.com/css?family=Noto+Sans+SC:300,400,500&display=swap&subset=chinese-simplified&exclude-subset=latin"`

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.