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 @@
"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 .",
"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": {
"@babel/core": "7.18.0",
......
......@@ -1800,6 +1800,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Braah One": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["gurmukhi", "latin", "latin-ext", "vietnamese"]
},
"Brawler": {
"weights": ["400", "700"],
"styles": ["normal"],
......@@ -1810,6 +1815,16 @@
"styles": ["normal"],
"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": {
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal", "italic"],
......@@ -2054,6 +2069,19 @@
"styles": ["normal", "italic"],
"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": {
"weights": ["400"],
"styles": ["normal"],
......@@ -2079,6 +2107,11 @@
"styles": ["normal", "italic"],
"subsets": ["latin", "latin-ext"]
},
"Castoro Titling": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Catamaran": {
"weights": [
"100",
......@@ -2232,7 +2265,7 @@
"Chilanka": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "malayalam"]
"subsets": ["latin", "latin-ext", "malayalam"]
},
"Chivo": {
"weights": [
......@@ -2388,6 +2421,30 @@
"styles": ["normal"],
"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": {
"weights": [
"100",
......@@ -2683,6 +2740,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Darumadrop One": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"David Libre": {
"weights": ["400", "500", "700"],
"styles": ["normal"],
......@@ -3475,6 +3537,30 @@
"styles": ["normal"],
"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": {
"weights": ["400"],
"styles": ["normal", "italic"],
......@@ -3632,7 +3718,7 @@
"Gabriela": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["cyrillic", "cyrillic-ext", "latin"]
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext"]
},
"Gaegu": {
"weights": ["300", "400", "700"],
......@@ -4566,6 +4652,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Instrument Serif": {
"weights": ["400"],
"styles": ["normal", "italic"],
"subsets": ["latin", "latin-ext"]
},
"Inter": {
"weights": [
"100",
......@@ -5039,6 +5130,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Konkhmer Sleokchher": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["khmer", "latin", "latin-ext"]
},
"Kosugi": {
"weights": ["400"],
"styles": ["normal"],
......@@ -6072,7 +6168,7 @@
"Mate SC": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin"]
"subsets": ["latin", "latin-ext"]
},
"Maven Pro": {
"weights": ["400", "500", "600", "700", "800", "900", "variable"],
......@@ -7409,9 +7505,28 @@
"subsets": ["inscriptional-parthian"]
},
"Noto Sans JP": {
"weights": ["100", "300", "400", "500", "700", "900"],
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"subsets": ["latin"]
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["cyrillic", "latin", "latin-ext", "vietnamese"]
},
"Noto Sans Javanese": {
"weights": ["400", "500", "600", "700", "variable"],
......@@ -7482,7 +7597,7 @@
"Noto Sans Kharoshthi": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["kharoshthi"]
"subsets": ["kharoshthi", "latin", "latin-ext"]
},
"Noto Sans Khmer": {
"weights": [
......@@ -7838,7 +7953,7 @@
"Noto Sans Nushu": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["nushu"]
"subsets": ["latin", "latin-ext", "nushu"]
},
"Noto Sans Ogham": {
"weights": ["400"],
......@@ -8114,9 +8229,28 @@
"subsets": ["latin", "latin-ext", "symbols"]
},
"Noto Sans Syriac": {
"weights": ["100", "400", "900"],
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"subsets": ["syriac"]
"axes": [
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "syriac"]
},
"Noto Sans TC": {
"weights": ["100", "300", "400", "500", "700", "900"],
......@@ -8296,7 +8430,7 @@
"Noto Sans Thai Looped": {
"weights": ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
"styles": ["normal"],
"subsets": ["thai"]
"subsets": ["latin", "latin-ext", "thai"]
},
"Noto Sans Tifinagh": {
"weights": ["400"],
......@@ -9076,8 +9210,45 @@
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
},
"Nunito Sans": {
"weights": ["200", "300", "400", "600", "700", "800", "900"],
"weights": [
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"1000",
"variable"
],
"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"]
},
"Nuosu SIL": {
......@@ -9244,7 +9415,7 @@
"defaultValue": 400
}
],
"subsets": ["latin"]
"subsets": ["latin", "latin-ext"]
},
"Over the Rainbow": {
"weights": ["400"],
......@@ -9411,6 +9582,42 @@
"styles": ["normal"],
"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": {
"weights": ["400"],
"styles": ["normal"],
......@@ -9642,6 +9849,19 @@
"styles": ["normal"],
"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": {
"weights": ["400"],
"styles": ["normal", "italic"],
......@@ -10985,6 +11205,11 @@
"styles": ["normal"],
"subsets": ["khmer"]
},
"Sigmar": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Sigmar One": {
"weights": ["400"],
"styles": ["normal"],
......@@ -12300,6 +12525,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Vina Sans": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Voces": {
"weights": ["400"],
"styles": ["normal"],
......@@ -12503,6 +12733,39 @@
],
"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": {
"weights": ["400"],
"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