-
Notifications
You must be signed in to change notification settings - Fork 29.9k
Update font data #86360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: canary
Are you sure you want to change the base?
Update font data #86360
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9058,6 +9058,53 @@ export declare function Google_Sans_Code< | |||||
| | 'vietnamese' | ||||||
| > | ||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Google_Sans_Flex< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options?: { | ||||||
| weight?: | ||||||
| | '100' | ||||||
| | '200' | ||||||
| | '300' | ||||||
| | '400' | ||||||
| | '500' | ||||||
| | '600' | ||||||
| | '700' | ||||||
| | '800' | ||||||
| | '900' | ||||||
| | '1000' | ||||||
| | 'variable' | ||||||
| | Array< | ||||||
| | '100' | ||||||
| | '200' | ||||||
| | '300' | ||||||
| | '400' | ||||||
| | '500' | ||||||
| | '600' | ||||||
| | '700' | ||||||
| | '800' | ||||||
| | '900' | ||||||
| | '1000' | ||||||
| > | ||||||
| style?: 'normal' | Array<'normal'> | ||||||
| display?: Display | ||||||
| variable?: T | ||||||
| preload?: boolean | ||||||
| fallback?: string[] | ||||||
| adjustFontFallback?: boolean | ||||||
| subsets?: Array< | ||||||
| | 'canadian-aboriginal' | ||||||
| | 'cherokee' | ||||||
| | 'latin' | ||||||
| | 'latin-ext' | ||||||
| | 'math' | ||||||
| | 'nushu' | ||||||
| | 'symbols' | ||||||
| | 'syriac' | ||||||
| | 'tifinagh' | ||||||
| | 'vietnamese' | ||||||
| > | ||||||
| axes?: ('GRAD' | 'ROND' | 'opsz' | 'slnt' | 'wdth')[] | ||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Gorditas< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options: { | ||||||
|
|
@@ -11742,6 +11789,25 @@ export declare function Keania_One< | |||||
| adjustFontFallback?: boolean | ||||||
| subsets?: Array<'latin' | 'latin-ext'> | ||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Kedebideri< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options: { | ||||||
| weight: | ||||||
| | '400' | ||||||
| | '500' | ||||||
| | '600' | ||||||
| | '700' | ||||||
| | '800' | ||||||
| | '900' | ||||||
| | Array<'400' | '500' | '600' | '700' | '800' | '900'> | ||||||
| style?: 'normal' | Array<'normal'> | ||||||
| display?: Display | ||||||
| variable?: T | ||||||
| preload?: boolean | ||||||
| fallback?: string[] | ||||||
| adjustFontFallback?: boolean | ||||||
| subsets?: Array<'latin'> | ||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Kelly_Slab< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options: { | ||||||
|
|
@@ -12944,8 +13010,14 @@ export declare function Libre_Barcode_EAN13_Text< | |||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Libre_Baskerville< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options: { | ||||||
| weight: '400' | '700' | Array<'400' | '700'> | ||||||
| >(options?: { | ||||||
| weight?: | ||||||
| | '400' | ||||||
| | '500' | ||||||
| | '600' | ||||||
| | '700' | ||||||
| | 'variable' | ||||||
| | Array<'400' | '500' | '600' | '700'> | ||||||
| style?: 'normal' | 'italic' | Array<'normal' | 'italic'> | ||||||
| display?: Display | ||||||
| variable?: T | ||||||
|
|
@@ -25211,6 +25283,34 @@ export declare function Schoolbell< | |||||
| adjustFontFallback?: boolean | ||||||
| subsets?: Array<'latin'> | ||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Science_Gothic< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options?: { | ||||||
| weight?: | ||||||
| | '100' | ||||||
| | '200' | ||||||
| | '300' | ||||||
| | '400' | ||||||
| | '500' | ||||||
| | '600' | ||||||
| | '700' | ||||||
| | '800' | ||||||
| | '900' | ||||||
| | 'variable' | ||||||
| | Array< | ||||||
| '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | ||||||
| > | ||||||
| style?: 'normal' | Array<'normal'> | ||||||
| display?: Display | ||||||
| variable?: T | ||||||
| preload?: boolean | ||||||
| fallback?: string[] | ||||||
| adjustFontFallback?: boolean | ||||||
| subsets?: Array< | ||||||
| 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese' | ||||||
| > | ||||||
| axes?: ('CTRS' | 'slnt' | 'wdth')[] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing 'wght' axis in TypeScript type definition for Science Gothic. The JSON data defines 4 axes including 'wght' (line 16043), but the TypeScript type only includes 3 axes. Users will get TypeScript errors when trying to use the wght axis even though the font supports it. axes?: ('CTRS' | 'slnt' | 'wdth' | 'wght')[]
Suggested change
Spotted by Graphite Agent |
||||||
| }): T extends undefined ? NextFont : NextFontWithVariable | ||||||
| export declare function Scope_One< | ||||||
| T extends CssVariable | undefined = undefined, | ||||||
| >(options: { | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing 'wght' axis in TypeScript type definition for Google Sans Flex. The JSON data defines 6 axes including 'wght' (line 5973), but the TypeScript type only includes 5 axes. Users will get TypeScript errors when trying to use the wght axis even though the font supports it.
Spotted by Graphite Agent

Is this helpful? React 👍 or 👎 to let us know.