Skip to content

Commit

Permalink
Update font data (#62704)
Browse files Browse the repository at this point in the history
This auto-generated PR updates font data with latest available

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
vercel-release-bot and ijjk committed Mar 1, 2024
1 parent dc41d9c commit 35aab7e
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 7 deletions.
38 changes: 35 additions & 3 deletions packages/font/src/google/font-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6511,6 +6511,11 @@
],
"subsets": ["arabic", "latin", "latin-ext"]
},
"Madimi One": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "math", "symbols"]
},
"Magra": {
"weights": ["400", "700"],
"styles": ["normal"],
Expand Down Expand Up @@ -7394,7 +7399,7 @@
"defaultValue": 400
}
],
"subsets": ["arabic"]
"subsets": ["arabic", "latin", "latin-ext", "math", "symbols"]
},
"Noto Music": {
"weights": ["400"],
Expand Down Expand Up @@ -7668,7 +7673,7 @@
"Noto Sans Brahmi": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["brahmi", "latin", "latin-ext"]
"subsets": ["brahmi", "latin", "latin-ext", "math", "symbols"]
},
"Noto Sans Buginese": {
"weights": ["400"],
Expand Down Expand Up @@ -7943,7 +7948,15 @@
"defaultValue": 400
}
],
"subsets": ["georgian", "latin", "latin-ext"]
"subsets": [
"cyrillic-ext",
"georgian",
"greek-ext",
"latin",
"latin-ext",
"math",
"symbols"
]
},
"Noto Sans Glagolitic": {
"weights": ["400"],
Expand Down Expand Up @@ -10134,6 +10147,19 @@
"vietnamese"
]
},
"Ojuju": {
"weights": ["200", "300", "400", "500", "600", "700", "800", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 200,
"max": 800,
"defaultValue": 400
}
],
"subsets": ["latin", "latin-ext", "math", "symbols", "vietnamese"]
},
"Old Standard TT": {
"weights": ["400", "700"],
"styles": ["normal", "italic"],
Expand Down Expand Up @@ -11473,6 +11499,12 @@
"max": 150,
"defaultValue": 0
},
{
"tag": "XOPQ",
"min": 27,
"max": 175,
"defaultValue": 96
},
{
"tag": "XTRA",
"min": 323,
Expand Down
2 changes: 1 addition & 1 deletion packages/font/src/google/get-font-axes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('getFontAxes errors', () => {
expect(() => getFontAxes('Roboto Flex', ['variable'], [], ['INVALID']))
.toThrowErrorMatchingInlineSnapshot(`
"Invalid axes value \`INVALID\` for font \`Roboto Flex\`.
Available axes: \`GRAD\`, \`XTRA\`, \`YOPQ\`, \`YTAS\`, \`YTDE\`, \`YTFI\`, \`YTLC\`, \`YTUC\`, \`opsz\`, \`slnt\`, \`wdth\`"
Available axes: \`GRAD\`, \`XOPQ\`, \`XTRA\`, \`YOPQ\`, \`YTAS\`, \`YTDE\`, \`YTFI\`, \`YTLC\`, \`YTUC\`, \`opsz\`, \`slnt\`, \`wdth\`"
`)
})
})
48 changes: 45 additions & 3 deletions packages/font/src/google/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11606,6 +11606,18 @@ export declare function Mada<
adjustFontFallback?: boolean
subsets?: Array<'arabic' | 'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Madimi_One<
T extends CssVariable | undefined = undefined
>(options: {
weight: '400' | Array<'400'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'math' | 'symbols'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Magra<
T extends CssVariable | undefined = undefined
>(options: {
Expand Down Expand Up @@ -13444,7 +13456,7 @@ export declare function Noto_Kufi_Arabic<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'arabic'>
subsets?: Array<'arabic' | 'latin' | 'latin-ext' | 'math' | 'symbols'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Music<
T extends CssVariable | undefined = undefined
Expand Down Expand Up @@ -13780,7 +13792,7 @@ export declare function Noto_Sans_Brahmi<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'brahmi' | 'latin' | 'latin-ext'>
subsets?: Array<'brahmi' | 'latin' | 'latin-ext' | 'math' | 'symbols'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Sans_Buginese<
T extends CssVariable | undefined = undefined
Expand Down Expand Up @@ -14146,7 +14158,15 @@ export declare function Noto_Sans_Georgian<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'georgian' | 'latin' | 'latin-ext'>
subsets?: Array<
| 'cyrillic-ext'
| 'georgian'
| 'greek-ext'
| 'latin'
| 'latin-ext'
| 'math'
| 'symbols'
>
axes?: 'wdth'[]
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Noto_Sans_Glagolitic<
Expand Down Expand Up @@ -17185,6 +17205,27 @@ export declare function Oi<
| 'vietnamese'
>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Ojuju<
T extends CssVariable | undefined = undefined
>(options?: {
weight?:
| '200'
| '300'
| '400'
| '500'
| '600'
| '700'
| '800'
| 'variable'
| Array<'200' | '300' | '400' | '500' | '600' | '700' | '800'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'math' | 'symbols' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Old_Standard_TT<
T extends CssVariable | undefined = undefined
>(options: {
Expand Down Expand Up @@ -19556,6 +19597,7 @@ export declare function Roboto_Flex<
>
axes?: (
| 'GRAD'
| 'XOPQ'
| 'XTRA'
| 'YOPQ'
| 'YTAS'
Expand Down

0 comments on commit 35aab7e

Please sign in to comment.