Skip to content

Commit dd32e0f

Browse files
vercel-release-botsamcx
authored andcommittedAug 26, 2024
Update font data (#68639)
This auto-generated PR updates font data with latest available --------- Co-authored-by: samcx <sam@vercel.com>

File tree

3 files changed

+55
-12
lines changed

3 files changed

+55
-12
lines changed
 

‎packages/font/src/google/font-data.json

+17-7
Original file line numberDiff line numberDiff line change
@@ -1965,7 +1965,7 @@
19651965
"defaultValue": 400
19661966
}
19671967
],
1968-
"subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"]
1968+
"subsets": ["latin", "latin-ext", "vietnamese"]
19691969
},
19701970
"Bruno Ace": {
19711971
"weights": ["400"],
@@ -5063,13 +5063,13 @@
50635063
"900",
50645064
"variable"
50655065
],
5066-
"styles": ["normal"],
5066+
"styles": ["normal", "italic"],
50675067
"axes": [
50685068
{
5069-
"tag": "slnt",
5070-
"min": -10,
5071-
"max": 0,
5072-
"defaultValue": 0
5069+
"tag": "opsz",
5070+
"min": 14,
5071+
"max": 32,
5072+
"defaultValue": 14
50735073
},
50745074
{
50755075
"tag": "wght",
@@ -10685,7 +10685,7 @@
1068510685
"Philosopher": {
1068610686
"weights": ["400", "700"],
1068710687
"styles": ["normal", "italic"],
10688-
"subsets": ["cyrillic", "cyrillic-ext", "latin", "vietnamese"]
10688+
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
1068910689
},
1069010690
"Phudu": {
1069110691
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
@@ -12235,6 +12235,11 @@
1223512235
"styles": ["normal"],
1223612236
"subsets": ["latin", "latin-ext"]
1223712237
},
12238+
"Sankofa Display": {
12239+
"weights": ["400"],
12240+
"styles": ["normal"],
12241+
"subsets": ["latin", "latin-ext", "vietnamese"]
12242+
},
1223812243
"Sansita": {
1223912244
"weights": ["400", "700", "800", "900"],
1224012245
"styles": ["normal", "italic"],
@@ -14400,6 +14405,11 @@
1440014405
"styles": ["normal"],
1440114406
"subsets": ["latin"]
1440214407
},
14408+
"Zain": {
14409+
"weights": ["200", "300", "400", "700", "800", "900"],
14410+
"styles": ["normal"],
14411+
"subsets": ["arabic", "latin"]
14412+
},
1440314413
"Zen Antique": {
1440414414
"weights": ["400"],
1440514415
"styles": ["normal"],

‎packages/font/src/google/get-font-axes.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('getFontAxes errors', () => {
1313
expect(() => getFontAxes('Inter', ['variable'], [], true as any))
1414
.toThrowErrorMatchingInlineSnapshot(`
1515
"Invalid axes value for font \`Inter\`, expected an array of axes.
16-
Available axes: \`slnt\`"
16+
Available axes: \`opsz\`"
1717
`)
1818
})
1919

‎packages/font/src/google/index.ts

+37-4
Original file line numberDiff line numberDiff line change
@@ -3351,7 +3351,7 @@ export declare function Bricolage_Grotesque<
33513351
preload?: boolean
33523352
fallback?: string[]
33533353
adjustFontFallback?: boolean
3354-
subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'>
3354+
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
33553355
axes?: ('opsz' | 'wdth')[]
33563356
}): T extends undefined ? NextFont : NextFontWithVariable
33573357
export declare function Bruno_Ace<
@@ -9051,7 +9051,7 @@ export declare function Inter<
90519051
| Array<
90529052
'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'
90539053
>
9054-
style?: 'normal' | Array<'normal'>
9054+
style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
90559055
display?: Display
90569056
variable?: T
90579057
preload?: boolean
@@ -9066,7 +9066,7 @@ export declare function Inter<
90669066
| 'latin-ext'
90679067
| 'vietnamese'
90689068
>
9069-
axes?: 'slnt'[]
9069+
axes?: 'opsz'[]
90709070
}): T extends undefined ? NextFont : NextFontWithVariable
90719071
export declare function Inter_Tight<
90729072
T extends CssVariable | undefined = undefined
@@ -18222,7 +18222,9 @@ export declare function Philosopher<
1822218222
preload?: boolean
1822318223
fallback?: string[]
1822418224
adjustFontFallback?: boolean
18225-
subsets?: Array<'cyrillic' | 'cyrillic-ext' | 'latin' | 'vietnamese'>
18225+
subsets?: Array<
18226+
'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'
18227+
>
1822618228
}): T extends undefined ? NextFont : NextFontWithVariable
1822718229
export declare function Phudu<
1822818230
T extends CssVariable | undefined = undefined
@@ -20823,6 +20825,18 @@ export declare function Sancreek<
2082320825
adjustFontFallback?: boolean
2082420826
subsets?: Array<'latin' | 'latin-ext'>
2082520827
}): T extends undefined ? NextFont : NextFontWithVariable
20828+
export declare function Sankofa_Display<
20829+
T extends CssVariable | undefined = undefined
20830+
>(options: {
20831+
weight: '400' | Array<'400'>
20832+
style?: 'normal' | Array<'normal'>
20833+
display?: Display
20834+
variable?: T
20835+
preload?: boolean
20836+
fallback?: string[]
20837+
adjustFontFallback?: boolean
20838+
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
20839+
}): T extends undefined ? NextFont : NextFontWithVariable
2082620840
export declare function Sansita<
2082720841
T extends CssVariable | undefined = undefined
2082820842
>(options: {
@@ -24687,6 +24701,25 @@ export declare function ZCOOL_XiaoWei<
2468724701
adjustFontFallback?: boolean
2468824702
subsets?: Array<'latin'>
2468924703
}): T extends undefined ? NextFont : NextFontWithVariable
24704+
export declare function Zain<
24705+
T extends CssVariable | undefined = undefined
24706+
>(options: {
24707+
weight:
24708+
| '200'
24709+
| '300'
24710+
| '400'
24711+
| '700'
24712+
| '800'
24713+
| '900'
24714+
| Array<'200' | '300' | '400' | '700' | '800' | '900'>
24715+
style?: 'normal' | Array<'normal'>
24716+
display?: Display
24717+
variable?: T
24718+
preload?: boolean
24719+
fallback?: string[]
24720+
adjustFontFallback?: boolean
24721+
subsets?: Array<'arabic' | 'latin'>
24722+
}): T extends undefined ? NextFont : NextFontWithVariable
2469024723
export declare function Zen_Antique<
2469124724
T extends CssVariable | undefined = undefined
2469224725
>(options: {

0 commit comments

Comments
 (0)
Please sign in to comment.