Skip to content

Commit 83f2e55

Browse files
Update font data (#68639)
This auto-generated PR updates font data with latest available --------- Co-authored-by: samcx <[email protected]>
1 parent c86062a commit 83f2e55

File tree

3 files changed

+55
-12
lines changed

3 files changed

+55
-12
lines changed

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

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@
20432043
"defaultValue": 400
20442044
}
20452045
],
2046-
"subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"]
2046+
"subsets": ["latin", "latin-ext", "vietnamese"]
20472047
},
20482048
"Bruno Ace": {
20492049
"weights": ["400"],
@@ -5207,13 +5207,13 @@
52075207
"900",
52085208
"variable"
52095209
],
5210-
"styles": ["normal"],
5210+
"styles": ["normal", "italic"],
52115211
"axes": [
52125212
{
5213-
"tag": "slnt",
5214-
"min": -10,
5215-
"max": 0,
5216-
"defaultValue": 0
5213+
"tag": "opsz",
5214+
"min": 14,
5215+
"max": 32,
5216+
"defaultValue": 14
52175217
},
52185218
{
52195219
"tag": "wght",
@@ -10999,7 +10999,7 @@
1099910999
"Philosopher": {
1100011000
"weights": ["400", "700"],
1100111001
"styles": ["normal", "italic"],
11002-
"subsets": ["cyrillic", "cyrillic-ext", "latin", "vietnamese"]
11002+
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
1100311003
},
1100411004
"Phudu": {
1100511005
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
@@ -13276,6 +13276,11 @@
1327613276
"styles": ["normal"],
1327713277
"subsets": ["latin", "latin-ext"]
1327813278
},
13279+
"Sankofa Display": {
13280+
"weights": ["400"],
13281+
"styles": ["normal"],
13282+
"subsets": ["latin", "latin-ext", "vietnamese"]
13283+
},
1327913284
"Sansita": {
1328013285
"weights": ["400", "700", "800", "900"],
1328113286
"styles": ["normal", "italic"],
@@ -15533,6 +15538,11 @@
1553315538
"styles": ["normal"],
1553415539
"subsets": ["latin"]
1553515540
},
15541+
"Zain": {
15542+
"weights": ["200", "300", "400", "700", "800", "900"],
15543+
"styles": ["normal"],
15544+
"subsets": ["arabic", "latin"]
15545+
},
1553615546
"Zen Antique": {
1553715547
"weights": ["400"],
1553815548
"styles": ["normal"],

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,7 @@ export declare function Bricolage_Grotesque<
34593459
preload?: boolean
34603460
fallback?: string[]
34613461
adjustFontFallback?: boolean
3462-
subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'>
3462+
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
34633463
axes?: ('opsz' | 'wdth')[]
34643464
}): T extends undefined ? NextFont : NextFontWithVariable
34653465
export declare function Bruno_Ace<
@@ -9266,7 +9266,7 @@ export declare function Inter<
92669266
| Array<
92679267
'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'
92689268
>
9269-
style?: 'normal' | Array<'normal'>
9269+
style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
92709270
display?: Display
92719271
variable?: T
92729272
preload?: boolean
@@ -9281,7 +9281,7 @@ export declare function Inter<
92819281
| 'latin-ext'
92829282
| 'vietnamese'
92839283
>
9284-
axes?: 'slnt'[]
9284+
axes?: 'opsz'[]
92859285
}): T extends undefined ? NextFont : NextFontWithVariable
92869286
export declare function Inter_Tight<
92879287
T extends CssVariable | undefined = undefined,
@@ -18604,7 +18604,9 @@ export declare function Philosopher<
1860418604
preload?: boolean
1860518605
fallback?: string[]
1860618606
adjustFontFallback?: boolean
18607-
subsets?: Array<'cyrillic' | 'cyrillic-ext' | 'latin' | 'vietnamese'>
18607+
subsets?: Array<
18608+
'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'
18609+
>
1860818610
}): T extends undefined ? NextFont : NextFontWithVariable
1860918611
export declare function Phudu<
1861018612
T extends CssVariable | undefined = undefined,
@@ -22146,6 +22148,18 @@ export declare function Sancreek<
2214622148
adjustFontFallback?: boolean
2214722149
subsets?: Array<'latin' | 'latin-ext'>
2214822150
}): T extends undefined ? NextFont : NextFontWithVariable
22151+
export declare function Sankofa_Display<
22152+
T extends CssVariable | undefined = undefined,
22153+
>(options: {
22154+
weight: '400' | Array<'400'>
22155+
style?: 'normal' | Array<'normal'>
22156+
display?: Display
22157+
variable?: T
22158+
preload?: boolean
22159+
fallback?: string[]
22160+
adjustFontFallback?: boolean
22161+
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
22162+
}): T extends undefined ? NextFont : NextFontWithVariable
2214922163
export declare function Sansita<
2215022164
T extends CssVariable | undefined = undefined,
2215122165
>(options: {
@@ -26118,6 +26132,25 @@ export declare function ZCOOL_XiaoWei<
2611826132
adjustFontFallback?: boolean
2611926133
subsets?: Array<'latin'>
2612026134
}): T extends undefined ? NextFont : NextFontWithVariable
26135+
export declare function Zain<
26136+
T extends CssVariable | undefined = undefined,
26137+
>(options: {
26138+
weight:
26139+
| '200'
26140+
| '300'
26141+
| '400'
26142+
| '700'
26143+
| '800'
26144+
| '900'
26145+
| Array<'200' | '300' | '400' | '700' | '800' | '900'>
26146+
style?: 'normal' | Array<'normal'>
26147+
display?: Display
26148+
variable?: T
26149+
preload?: boolean
26150+
fallback?: string[]
26151+
adjustFontFallback?: boolean
26152+
subsets?: Array<'arabic' | 'latin'>
26153+
}): T extends undefined ? NextFont : NextFontWithVariable
2612126154
export declare function Zen_Antique<
2612226155
T extends CssVariable | undefined = undefined,
2612326156
>(options: {

0 commit comments

Comments
 (0)