Unverified Commit 986039db authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

Update google fonts (#48984)

### What?

* Update google fonts for `next/font` with `scripts/update-google-fonts.js.`
* Add npm script `pnpm update-google-fonts`

### How?

Run `pnpm update-google-fonts`
parent 03189bb2
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
"postinstall": "git config index.skipHash false && node scripts/install-native.mjs", "postinstall": "git config index.skipHash false && node scripts/install-native.mjs",
"version": "npx pnpm@7.24.3 install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add .", "version": "npx pnpm@7.24.3 install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add .",
"prepare": "husky install", "prepare": "husky install",
"sync-react": "node ./scripts/sync-react.js" "sync-react": "node ./scripts/sync-react.js",
"update-google-fonts": "node ./scripts/update-google-fonts.js"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "7.18.0", "@babel/core": "7.18.0",
......
...@@ -1800,6 +1800,11 @@ ...@@ -1800,6 +1800,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext"] "subsets": ["latin", "latin-ext"]
}, },
"Braah One": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["gurmukhi", "latin", "latin-ext", "vietnamese"]
},
"Brawler": { "Brawler": {
"weights": ["400", "700"], "weights": ["400", "700"],
"styles": ["normal"], "styles": ["normal"],
...@@ -1810,6 +1815,16 @@ ...@@ -1810,6 +1815,16 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext"] "subsets": ["latin", "latin-ext"]
}, },
"Bruno Ace": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Bruno Ace SC": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Brygada 1918": { "Brygada 1918": {
"weights": ["400", "500", "600", "700", "variable"], "weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
...@@ -2054,6 +2069,19 @@ ...@@ -2054,6 +2069,19 @@
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
"subsets": ["greek", "greek-ext", "latin", "latin-ext"] "subsets": ["greek", "greek-ext", "latin", "latin-ext"]
}, },
"Carlito": {
"weights": ["400", "700"],
"styles": ["normal", "italic"],
"subsets": [
"cyrillic",
"cyrillic-ext",
"greek",
"greek-ext",
"latin",
"latin-ext",
"vietnamese"
]
},
"Carme": { "Carme": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
...@@ -2079,6 +2107,11 @@ ...@@ -2079,6 +2107,11 @@
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
"subsets": ["latin", "latin-ext"] "subsets": ["latin", "latin-ext"]
}, },
"Castoro Titling": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Catamaran": { "Catamaran": {
"weights": [ "weights": [
"100", "100",
...@@ -2232,7 +2265,7 @@ ...@@ -2232,7 +2265,7 @@
"Chilanka": { "Chilanka": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "malayalam"] "subsets": ["latin", "latin-ext", "malayalam"]
}, },
"Chivo": { "Chivo": {
"weights": [ "weights": [
...@@ -2388,6 +2421,30 @@ ...@@ -2388,6 +2421,30 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin"] "subsets": ["latin"]
}, },
"Comme": {
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext"]
},
"Commissioner": { "Commissioner": {
"weights": [ "weights": [
"100", "100",
...@@ -2683,6 +2740,11 @@ ...@@ -2683,6 +2740,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"] "subsets": ["latin", "latin-ext", "vietnamese"]
}, },
"Darumadrop One": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"David Libre": { "David Libre": {
"weights": ["400", "500", "700"], "weights": ["400", "500", "700"],
"styles": ["normal"], "styles": ["normal"],
...@@ -3475,6 +3537,30 @@ ...@@ -3475,6 +3537,30 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"] "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
}, },
"Foldit": {
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Fondamento": { "Fondamento": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
...@@ -3632,7 +3718,7 @@ ...@@ -3632,7 +3718,7 @@
"Gabriela": { "Gabriela": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["cyrillic", "cyrillic-ext", "latin"] "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext"]
}, },
"Gaegu": { "Gaegu": {
"weights": ["300", "400", "700"], "weights": ["300", "400", "700"],
...@@ -4566,6 +4652,11 @@ ...@@ -4566,6 +4652,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"] "subsets": ["latin", "latin-ext", "vietnamese"]
}, },
"Instrument Serif": {
"weights": ["400"],
"styles": ["normal", "italic"],
"subsets": ["latin", "latin-ext"]
},
"Inter": { "Inter": {
"weights": [ "weights": [
"100", "100",
...@@ -5039,6 +5130,11 @@ ...@@ -5039,6 +5130,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"] "subsets": ["latin", "latin-ext", "vietnamese"]
}, },
"Konkhmer Sleokchher": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["khmer", "latin", "latin-ext"]
},
"Kosugi": { "Kosugi": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
...@@ -6072,7 +6168,7 @@ ...@@ -6072,7 +6168,7 @@
"Mate SC": { "Mate SC": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin"] "subsets": ["latin", "latin-ext"]
}, },
"Maven Pro": { "Maven Pro": {
"weights": ["400", "500", "600", "700", "800", "900", "variable"], "weights": ["400", "500", "600", "700", "800", "900", "variable"],
...@@ -7409,9 +7505,28 @@ ...@@ -7409,9 +7505,28 @@
"subsets": ["inscriptional-parthian"] "subsets": ["inscriptional-parthian"]
}, },
"Noto Sans JP": { "Noto Sans JP": {
"weights": ["100", "300", "400", "500", "700", "900"], "weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin"] "axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"]
}, },
"Noto Sans Javanese": { "Noto Sans Javanese": {
"weights": ["400", "500", "600", "700", "variable"], "weights": ["400", "500", "600", "700", "variable"],
...@@ -7482,7 +7597,7 @@ ...@@ -7482,7 +7597,7 @@
"Noto Sans Kharoshthi": { "Noto Sans Kharoshthi": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["kharoshthi"] "subsets": ["kharoshthi", "latin", "latin-ext"]
}, },
"Noto Sans Khmer": { "Noto Sans Khmer": {
"weights": [ "weights": [
...@@ -7838,7 +7953,7 @@ ...@@ -7838,7 +7953,7 @@
"Noto Sans Nushu": { "Noto Sans Nushu": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["nushu"] "subsets": ["latin", "latin-ext", "nushu"]
}, },
"Noto Sans Ogham": { "Noto Sans Ogham": {
"weights": ["400"], "weights": ["400"],
...@@ -8114,9 +8229,28 @@ ...@@ -8114,9 +8229,28 @@
"subsets": ["latin", "latin-ext", "symbols"] "subsets": ["latin", "latin-ext", "symbols"]
}, },
"Noto Sans Syriac": { "Noto Sans Syriac": {
"weights": ["100", "400", "900"], "weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["syriac"] "axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "syriac"]
}, },
"Noto Sans TC": { "Noto Sans TC": {
"weights": ["100", "300", "400", "500", "700", "900"], "weights": ["100", "300", "400", "500", "700", "900"],
...@@ -8296,7 +8430,7 @@ ...@@ -8296,7 +8430,7 @@
"Noto Sans Thai Looped": { "Noto Sans Thai Looped": {
"weights": ["100", "200", "300", "400", "500", "600", "700", "800", "900"], "weights": ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
"styles": ["normal"], "styles": ["normal"],
"subsets": ["thai"] "subsets": ["latin", "latin-ext", "thai"]
}, },
"Noto Sans Tifinagh": { "Noto Sans Tifinagh": {
"weights": ["400"], "weights": ["400"],
...@@ -9076,8 +9210,45 @@ ...@@ -9076,8 +9210,45 @@
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"] "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
}, },
"Nunito Sans": { "Nunito Sans": {
"weights": ["200", "300", "400", "600", "700", "800", "900"], "weights": [
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"1000",
"variable"
],
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
"axes": [
{
"tag": "YTLC",
"min": 440,
"max": 540,
"defaultValue": 500
},
{
"tag": "opsz",
"min": 6,
"max": 12,
"defaultValue": 12
},
{
"tag": "wdth",
"min": 75,
"max": 125,
"defaultValue": 100
},
{
"tag": "wght",
"min": 200,
"max": 1000,
"defaultValue": 400
}
],
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"] "subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
}, },
"Nuosu SIL": { "Nuosu SIL": {
...@@ -9244,7 +9415,7 @@ ...@@ -9244,7 +9415,7 @@
"defaultValue": 400 "defaultValue": 400
} }
], ],
"subsets": ["latin"] "subsets": ["latin", "latin-ext"]
}, },
"Over the Rainbow": { "Over the Rainbow": {
"weights": ["400"], "weights": ["400"],
...@@ -9411,6 +9582,42 @@ ...@@ -9411,6 +9582,42 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"] "subsets": ["latin", "latin-ext", "vietnamese"]
}, },
"Pathway Extreme": {
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "opsz",
"min": 8,
"max": 144,
"defaultValue": 12
},
{
"tag": "wdth",
"min": 75,
"max": 100,
"defaultValue": 100
},
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Pathway Gothic One": { "Pathway Gothic One": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
...@@ -9642,6 +9849,19 @@ ...@@ -9642,6 +9849,19 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin"] "subsets": ["latin"]
}, },
"Poltawski Nowy": {
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Poly": { "Poly": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal", "italic"], "styles": ["normal", "italic"],
...@@ -10985,6 +11205,11 @@ ...@@ -10985,6 +11205,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["khmer"] "subsets": ["khmer"]
}, },
"Sigmar": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Sigmar One": { "Sigmar One": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
...@@ -12300,6 +12525,11 @@ ...@@ -12300,6 +12525,11 @@
"styles": ["normal"], "styles": ["normal"],
"subsets": ["latin", "latin-ext"] "subsets": ["latin", "latin-ext"]
}, },
"Vina Sans": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Voces": { "Voces": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
...@@ -12503,6 +12733,39 @@ ...@@ -12503,6 +12733,39 @@
], ],
"subsets": ["latin", "latin-ext", "vietnamese"] "subsets": ["latin", "latin-ext", "vietnamese"]
}, },
"Ysabeau": {
"weights": [
"1",
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"1000",
"variable"
],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "wght",
"min": 1,
"max": 1000,
"defaultValue": 400
}
],
"subsets": [
"cyrillic",
"cyrillic-ext",
"greek",
"latin",
"latin-ext",
"vietnamese"
]
},
"Yuji Boku": { "Yuji Boku": {
"weights": ["400"], "weights": ["400"],
"styles": ["normal"], "styles": ["normal"],
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment